Overview
API key management endpointsAvailable Operations
- getCurrentKeyMetadata - Get current API key
- list - List API keys
- create - Create a new API key
- delete - Delete an API key
- get - Get a single API key
- update - Update an API key
getCurrentKeyMetadata
Get information on the API key associated with the current authentication sessionExample Usage
Standalone function
The standalone function version of this method:Parameters
Response
Promise<operations.GetCurrentKeyResponse>Errors
list
List all API keys for the authenticated user. Management key required.Example Usage
Standalone function
The standalone function version of this method:Parameters
Response
Promise<operations.ListResponse>Errors
create
Create a new API key for the authenticated user. The plaintextkey is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Authenticate with a management key, or with a Connect client secret. external_user and external_api_key are accepted only with a client secret, and external_user is required there; supplying either field with a management key is rejected with 403.