cURL
curl --request POST \ --url https://idaas.yourflexpay.com/api/v1/consent/{consentToken}/deny \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "errorCode": "<string>", "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "tagId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "tagString": "<string>", "subjectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "subjectExternalId": "<string>", "requestedByAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "requestedByAppName": "<string>", "state": "PENDING", "requestedAt": "2023-11-07T05:31:56Z", "approvedAt": "2023-11-07T05:31:56Z", "revokedAt": "2023-11-07T05:31:56Z", "consentToken": "<string>", "approvalUrl": "<string>", "tokenExpiresAt": "2023-11-07T05:31:56Z" }, "errors": [ "<string>" ], "timestamp": "2023-11-07T05:31:56Z" }
Denies a pending consent token and marks the related claim request as rejected.
Obtain a token from POST /v1/auth/token using your client_id and client_secret, then enter Bearer <token> here.
POST /v1/auth/token
client_id
client_secret
Bearer <token>
Consent denied
Show child attributes