Accept Consent Usage
POST/consent-management-srv/v2/consent/usage/accept
Accept consent for a specific consent instance and version. This endpoint allows accepting consent without user authentication by using a masked sub (q parameter) or track-id.
This endpoint is typically used during prechecks when a user needs to accept consent before completing authentication. The q parameter represents a masked user identifier that can be used instead of requiring full authentication.
Use Cases:
- Accepting consent during registration/login flow when user is not yet authenticated
- Accepting consent using a track-id from precheck metadata
- Accepting consent with masked sub identifier
Request
Responses
- 200
- 204
- 400
- 401
- 404
OK - Consent accepted successfully
No Content - Consent already accepted
Bad Request - Invalid request parameters
Unauthorized
Not Found - Consent instance or version not found