Skip to Content
AuthenticationRotation and revocation

Rotation and revocation

Rotate a key

Rotate keys on a schedule, and at once if one may have leaked.

Create the new key

Under Dashboard → API Keys, create a key with the same scopes.

Deploy it

Put the new key wherever the old one is used. Both work at the same time.

Revoke the old key

When nothing uses the old key any more, revoke it. Its Last used date in the list shows whether it is still in use.

Revoke a key

Revoke a key under Dashboard → API Keys. Its next request fails with 401 invalid_credentials. Revoking cannot be undone.

Disconnect an assistant

Assistants connected over OAuth are listed under Dashboard → Connected apps, with the organization and scopes each was given. Disconnect ends the connection: the assistant’s next call fails, and it asks you to sign in again.

What else ends access

Keys and connections also stop working when:

  • the key reaches its expiry date,
  • you leave the organization, or your access to TeroAI ends,
  • the organization’s API access is switched off.
Last updated on