Skip to main content
DELETE
/
api
/
v1
/
credentials
/
{id}
curl --request DELETE \
  --url 'https://transaction-tax.api.in.commenda.io/api/v1/credentials/a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
  --header 'Authorization: Bearer <your_token>'
{
  "message": "Successfully deleted credential.",
  "data": {
    "credential": {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "deleted": true
    }
  }
}
Delete a credential. This operation fails if the credential is linked to any active registrations — unlink the credential from all registrations first.

Path parameters

id
string
required
The unique identifier (UUID) of the credential to delete.
curl --request DELETE \
  --url 'https://transaction-tax.api.in.commenda.io/api/v1/credentials/a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
  --header 'Authorization: Bearer <your_token>'
{
  "message": "Successfully deleted credential.",
  "data": {
    "credential": {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "deleted": true
    }
  }
}