cURL
curl --request DELETE \ --url https://api.deck.co/v2/credentials/{credential_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "object": "<string>", "status": "<string>", "request_id": "<string>" }
Permanently deletes a credential.
Secret key (sk_live_...)
Unique identifier for the credential (prefixed with cred_).
cred_
OK
Confirmation object returned after a successful credential deletion.
ID of the deleted credential.
Always credential.
credential
Credential status after deletion.
Unique identifier for the API request. Include this when contacting support.
Was this page helpful?