Skip to main content
POST
/
auth
/
devices
/
revoke-all
curl -X POST "https://api.tktchurch.com/v1/auth/devices/revoke-all" \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."

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. Include the JWT access token in the Authorization header.

Response

A successful request returns HTTP 204 No Content status. The following actions are performed:
  1. The current device’s token is preserved
  2. All other refresh tokens are blacklisted
  3. All associated access tokens are blacklisted
  4. The blacklisted tokens are removed from the database

Error Responses

error
object
Error details when the request fails
Common error cases:
  • 401 Unauthorized: Missing or invalid access token
  • 500 Internal Server Error: Invalid user ID in token
curl -X POST "https://api.tktchurch.com/v1/auth/devices/revoke-all" \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."