POST
/
abdm
/
v1
/
consents
/
pin
/
change
curl --request POST \
  --url https://api.eka.care/abdm/v1/consents/pin/change \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "new": "<string>",
  "old": "<string>"
}'
This response has no body data.

Authorizations

Authorization
string
header
required

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

Body

application/json
new
string
required

The new PIN to replace the old one

old
string
required

The current PIN to be updated