v3

latestOpenAPI 3.1.02026-08-0755220214.3 KB
apiKeys

Rotate

Rotates an API key, generating a new secret and invalidating the old one.

post/api_keys/{id}/rotate

Path parameters

idstring required

The ID of the API key to rotate.

Headers

Authorizationstring required

Bearer authentication header of the form Bearer <PHONIC_API_KEY>. Manage your API keys here.

Response

API key rotated

idstring required

The API key ID.

namestring required

The name of the API key.

api_keystring required

The API key secret. Only returned once, when the key is created or rotated.