# Update API token

Update the title of the given token.

Endpoint: PUT /api_tokens/{id}
Version: v1
Security: AuthToken

## Path parameters:

  - `id` (integer, required)
    The ID of the API token.

## Query parameters:

  - `title` (string, required)
    An identifier for a token. It can't be “primary”.
    Example: "updated_token"

## Response 200 fields (application/json):

  - `id` (integer)
    The unique ID of the API token.
    Example: 123456

  - `title` (string,null)
    The title of the token. Can be null.
    Example: "primary"

  - `token` (string)
    The token string.
    Example: "<token_string>"


## Response 404 fields
