Skip to main content
DELETE
Delete an API token

Body

application/json
signature
string
required

Ed25519 signature of the token deletion request.

Message: deleteToken:<timestamp>:<tokenId>:<userId> — data fields sorted alphabetically by key.

Sign the UTF-8 bytes of the message with the Ed25519 private key whose public key is registered for the user. Encode the signature as lowercase hex, 128 chars, no 0x prefix.

Pattern: ^[0-9a-f]{128}$
Example:

"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2"

timestamp
integer
required

Unix timestamp in milliseconds. Must be within ±2 minutes of server time or the request is rejected with 401 Signature expired.

Required range: -9007199254740991 <= x <= 9007199254740991
tokenId
string
required

ID of the token to delete.

userId
string<uuid>
required

User identifier. Send the value verbatim — do not re-case it, since the signed message must match byte-for-byte.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

200 - undefined