Skip to main content
PATCH
/
abdm
/
v1
/
hiu
/
keyset
cURL
curl --request PATCH \
  --url https://api.eka.care/abdm/v1/hiu/keyset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nonce": "<string>",
  "public_key": "<string>"
}
'
{
  "code": 123,
  "error": "<string>",
  "source_error": {
    "code": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
nonce
string
required

Base64-encoded nonce for encryption key derivation

public_key
string
required

Base64-encoded ECDH public key for encryption

Response

OK