API Reference
Revoke Token
Deactivate the current Developer API access token. Subsequent Bearer requests with the old token will fail until you regenerate a new one.
POST/api-token/revoke
Uses a Firebase ID token, not an
sv_ developer token. See Authentication.Authentication
Header
Authorization: Bearer <firebase_id_token>Full URL: https://shareviral-server-production.up.railway.app/api/v1/developer/api-token/revoke
Examples
cURL
curl -X POST https://shareviral-server-production.up.railway.app/api/v1/developer/api-token/revoke \
-H "Authorization: Bearer <firebase_id_token>" \
-H "Content-Type: application/json" \
-d '{}'Response
200 OK
{
"success": true
}