cURL
curl --request POST \ --url https://api.eka.care/abdm/v1/consents/deny \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "reason": "<string>" } '
{ "code": 123, "error": "<string>", "source_error": { "code": "<string>", "message": "<string>" } }
This endpoint is used to deny the consent
The API requires a Bearer token (JWT) for authentication.
Eka User ID (OID)
Partner User ID
Partner HIP ID
OID is used to Identify the user.
Unique identifier of a consent, also called the consent ID.
Users reason for denial in plain text
No Content
Was this page helpful?