# Rotate the key

`POST /accounts/{account}` · Praecise Scan · Accounts

## Parameters

- `account` (path, required), string: The account id.

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "rotate": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "rotate"
  ]
}
```

## Responses

- `200`

## Example

```sh
curl -X POST 'https://scan.praecise.com/accounts/{account}' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "rotate": true
}'
```
