Delete Account Credential
Soft-delete (revoke) an account credential so it can no longer be used to authenticate. This is a soft delete -- the record is retained and can be reactivated with an update. Authorization mirrors credential creation: an account can delete its own credentials, and a parent (PSP/partner) can delete a child account's credentials.
Path Parameters
- Type: string · Credential Idcredential
_id requiredThe ID of the credential to delete
Headers
- enumAcceptconst:application/jsonrequired
Response format. Must be
application/json.values- application/json
Responses
- application/json
- application/json
Request Example for delete/v1/accounts/credentials/{credential_id}
curl 'https://api.uat.koard.com/v1/accounts/credentials/{credential_id}' \
--request DELETE \
--header 'Accept: application/json' \
--header 'x-koard-apikey: YOUR_SECRET_TOKEN'
{
"id": null,
"message": "Resource deleted successfully",
"success": true
}
