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
  • credential_id
    Type: string · Credential Id
    required

    The ID of the credential to delete

Headers
  • Accept
    enum
    const:  
    application/json
    required

    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
}