Skip to content

Revoke identity and all its tokens immediately

DELETE
/v1/integrations/machine-clients/{id}
curl --request DELETE \
--url https://api.academy.example.com/v1/integrations/machine-clients/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Immediately revoke a client and all its access tokens.

id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/

Success

Media typeapplication/json
object
ok
required
boolean

Example

{
"ok": true
}

Error; error and message identify the reason

Media typeapplication/json
object
error
required

Stable code, e.g. insufficient_scope, not_found, validation_failed

string
message
string

Example generated

{
"error": "example",
"message": "example"
}