PATCH
/
abdm
/
v1
/
consents
/
auto-approval
curl --request PATCH \
  --url https://api.eka.care/abdm/v1/consents/auto-approval \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'oid=<string>'
{
  "status": "enabled"
}

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Headers

X-User-Id
string

Partner user ID

X-Hip-Id
string

Partner HIP ID

Query Parameters

oid
string

OID is used to Identify the user.

Body

application/x-www-form-urlencoded

Response

200
application/json

OK

The response is of type object.