Delete a trusted device owned by the signed-in user. Deleting the current trusted device clears its cookie without ending the login session.
Responses
-
The trusted device was deleted successfully.
-
The field is not editable.
-
Permission denied, the verification record is invalid or the access token does not include the trusted-devices scope.
-
The request was made by a third-party application.
-
The trusted device was not found or does not belong to the signed-in user.
-
Internal Server Error
DELETE
/api/my-account/trusted-devices/{trustedDeviceId}
curl \
--request DELETE 'https://[tenant_id].logto.app/api/my-account/trusted-devices/{trustedDeviceId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"