# Reset account API key.

Endpoint: POST /management/accounts/{id}/api-key-reset
Version: 3.18.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `id` (integer, required)
    Numeric ID of the Account.

## Response 200:

  - `200` (unknown)
    Updated account with the new API key.

## Response 200 fields (application/json):

  - `token` (string)
    The opaque token to use to authenticate for other API calls. The token must be included in all HTTP API calls
in a request header named "Authorization", and prefixed with "apk " to denote that it is a proprietary API key format.
For instance, if the token is "abc123", request must contain the following HTTP request header:
"Authorization: apk abc123".

  - `id` (integer)
    Numeric ID of the created Account.

  - `first_name` (string)
    First name of the created Account.

  - `last_name` (string)
    Last name of the created Account.

  - `email` (string)
    Email of the created Account.

  - `username` (string)
    Username of the created Account.

  - `ldap_principal` (string)
    The LDAP principal of the created Account.

  - `tags` (array)
    The tags to be created for this Account.
    Example: [{"key":"key-1","value":"value-1"},{"key":"key-2","value":"value-2"}]

  - `tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `tags.value` (string, required)
    Value of the tag
    Example: value-1

