# Renew API token

Deletes the given token and creates a new token.

Endpoint: POST /api_tokens/renew/{id}
Version: v1
Security: AuthToken

## Path parameters:

  - `id` (integer, required)
    The ID of the API 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
