admin
Revoke one of your own tokens
Revokes a token the calling user owns, and only one they own. A token belonging to another member or another organization is reported as not found, so this route cannot be used to discover token ids. Revocation takes effect immediately.
delete/tokens/{tokenId}
Request
- Base URL: https://api.letsship.ai/v1
- URL: https://api.letsship.ai/v1/tokens/{tokenId}
- Auth: HTTP bearer
Path parameters
tokenIdstring required
Example:tok-9b8e2a3f
Response
Token revoked (or was already revoked).
Example response
{
"kind": "revoked",
"tokenId": "tok-9b8e2a3f",
"revokedAt": 1735689600000
}Changes
No recorded changes to this operation across all 1 revision of this API.