Skip to content

Delete a token

DELETE
/api/tokens/{id}
curl --request DELETE \
--url https://app.dycrypt.com/o/acme/api/tokens/1 \
--cookie JSESSIONID=<JSESSIONID>
id
required
integer format: int64

Deleted.

No credential, or one that no longer resolves — revoked, expired, deleted. Replace it.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}

Not available to API tokens, or the caller is not an organisation administrator.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}

No such record, or no such endpoint.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}