Skip to main content

Delete

Description

Delete a credential.

Request

HTTP Method: DELETE

ParameterDescription
idThe ID of the credential to delete.
curl -X DELETE \
https://<tenant-domain>/api/v1/user_credentials/<credential-id> \
-H 'content-type: application/json' \
-H 'x-user-email: <email-address>' \
-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

ParameterDescription
destroyed_idcredential ID.

Sample response

{
"destroyed_id": 1
}