Revoke a client token
DELETE /v1/tracking/client-tokens/{token_id} · Authorization: Bearer
DELETE
/v1/tracking/client-tokens/{token_id}Revoke a client token
Soft-revokes immediately for new connections; active sockets revalidate on a bounded interval.
- Credential
Authorization: Bearer- Plane
https://api.bardiyamap.com- Operation id
revokeClientToken
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
token_id | string (uuid) | yes | Client token id.uuid |
Request example
shell
curl -X DELETE "https://api.bardiyamap.com/v1/tracking/client-tokens/tok_01HX9Z6Q3M" \
-H "Authorization: Bearer $BARDIYA_TRACKING_KEY"Response 204
Errors
| Status | Meaning |
|---|---|
401 | Authentication failed |
403 | Required scope is missing |
404 | Resource not found or is not visible to this tenant |
409 | Conflict or idempotency error |
422 | Validation Error |
503 | Public transport is temporarily unavailable |
Error bodies use the shared envelope documented in Errors: { "error": { "code", "message", "details", "request_id" } }.
DELETE /v1/tracking/client-tokens/{token_id} is part of the Client Tokens group. Values on this page are generated from contract version 1.1.0.
