Documentation Index
Fetch the complete documentation index at: https://docs.tktchurch.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint requires authentication and the viewUserDevices permission.
Path Parameters
The UUID of the user whose device to revoke
The UUID of the device token to revoke
Response
A successful request returns HTTP 204 No Content status. The following actions are performed:
- The device’s refresh token is blacklisted
- Any associated access tokens are blacklisted
- The tokens are removed from the database
Error Responses
Error details when the request fails
Error message explaining why the request failed
Common error cases:
- 400 Bad Request: Invalid user ID or device ID format
- 401 Unauthorized: Missing or invalid access token
- 403 Forbidden: Insufficient permissions (missing viewUserDevices)
- 404 Not Found: User or device not found
curl -X DELETE "https://api.tktchurch.com/v1/devices/users/123e4567-e89b-12d3-a456-426614174000/456e789a-b12d-3456-789a-bcdef0123456" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."