Skip to content

Revoke a device

DELETE
/api/v1/auth/devices/{id}
curl --request DELETE \
--url http://localhost:3001/api/v1/auth/devices/example \
--header 'Authorization: <Authorization>'

Revoke a device and all refresh tokens scoped to it. SA-2026-ARCH P2-H.

id
required
string

Device ID

Revoked

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Not Found

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}