Skip to main content
DELETE
Delete a credential

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

credential_id
string<uuid4>
required

Query Parameters

replacement_credential_id
string | null

Re-point every cluster GitOps binding that references this git credential to the named replacement credential, in the delete's own transaction. Without it, deleting the last credential such a binding references is refused with 409 while GITOPS_CREDENTIAL_INTEGRITY_ENFORCE is on.

Response

Credential deleted successfully

id
string<uuid>
required