Delete a credential
DELETE/api/v1/Credential/:credentialId
Deletes one credential (service account) by ID. The credential is marked deleted and removed from any access policies it belongs to. Use it to remove a credential that is no longer needed.
Permission required: Admin or App role.
Caution: The change takes effect immediately and removes the credential from any access policies it belongs to.
Request
Responses
- 200
- 400
- 403
The credential was deleted.
The credential was not found (the body is empty), or it cannot be deleted because a domain or a resource with no other credential to fall back on still uses it (the body describes the problem).
The signed-in user does not have the required role.