Skip to content

Revoke all trusted devices

DELETE
/api/mfa/trusted-devices
curl --request DELETE \
--url http://localhost:3001/api/mfa/trusted-devices \
--header 'Authorization: <Authorization>'

Revoke trust for all devices associated with the authenticated user

OK

Media typeapplication/json
object
message
string
revoked_count
integer
success
boolean
Examplegenerated
{
"message": "example",
"revoked_count": 1,
"success": true
}

Unauthorized

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
}