Permanently deletes a specified Credential. This operation cannot be undone.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
DELETE /vaults/{vault_id}/credentials/{credential_id}
Path parametersvault_idstring (必选)Vault ID, format vlt_xxxcredential_id string (必选)Credential ID, format cred_xxx | Request example |
Response fieldsidstringID of the deleted Credentialtype stringAlways credential_deletedrequest_id stringUnique request identifier | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 400 | InvalidParameter | Required parameter missing or invalid |
| 401 | InvalidApiKey | Invalid API key provided |