Toggle API key
Enable or disable an API key. A disabled API key cannot be used for authentication until it is re-enabled. An API key cannot toggle itself, and it cannot enable a key that has permissions it does not have itself (403). Disabling such a key is allowed. The API key that AI support manages cannot be changed through the API, so the request returns 403 for it. Use the AI support settings page in the dashboard instead.
POST
Toggle API key