Rotate
Rotates an API key, generating a new secret and invalidating the old one.
Authentication
AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
Path parameters
id
The ID of the API key to rotate.
Response
API key rotated
id
The API key ID.
name
The name of the API key.
api_key
The API key secret. Only returned once, when the key is created or rotated.
Errors
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error