Description
Delete a credential.
Request
HTTP Method: DELETE
Parameter | Description |
---|---|
id | The ID of the credential to delete. |
curl -X DELETE \
https://<<META.tenant.domain>>/api/v1/user_credentials/<<credential_id>> \
-H 'content-type: application/json' \
-H 'x-user-token: <api-token>'
Response
A successful request will return the JSON object describing the deleted credential with a 204
status code.
Field description
Parameter | Description |
---|---|
destroyed_id | credential ID. |
Sample response
{
"destroyed_id": 1
}