> ## Documentation Index
> Fetch the complete documentation index at: https://perps-api.vooi.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete an API token



## OpenAPI

````yaml https://vooi-api-app.fly.dev/swagger/json delete /user/tokens
openapi: 3.1.0
info:
  title: VOOI API
  description: Unified perps API
  version: '1.0'
  contact: {}
servers:
  - url: https://perps-api.vooi.io
security: []
tags: []
paths:
  /user/tokens:
    delete:
      tags:
        - Tokens
      summary: Delete an API token
      operationId: TokensController_deleteToken
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteTokenBodyDto'
      responses:
        '200':
          description: ''
components:
  schemas:
    DeleteTokenBodyDto:
      type: object
      properties:
        signature:
          type: string
          pattern: ^[0-9a-f]{128}$
          description: >-
            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.
          example: >-
            a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2
        timestamp:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: >-
            Unix timestamp in milliseconds. Must be within ±2 minutes of server
            time or the request is rejected with 401 Signature expired.
        tokenId:
          type: string
          description: ID of the token to delete.
        userId:
          type: string
          format: uuid
          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)$
          description: >-
            User identifier. Send the value verbatim — do not re-case it, since
            the signed message must match byte-for-byte.
      required:
        - signature
        - timestamp
        - tokenId
        - userId
      title: DeleteTokenBody

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.