d0fc0114da66
Create a new API key
Used to create a new API key
Path parameters
The ID of the workspace in which the key should be created
Request body
The time to live for this API key specified in ISO-8601 duration format
Friendly name for this API key
The intended use of this API key
The ID of the workspace associated with this API key
Response
The API Key that was created
The ID of the API key, NOT the raw API Key secret
secret API key (may not be returned from all endpoints)
Secure key hash (may not be returned from all endpoints)
Secure key hash type (may not be returned from all endpoints)
Encrypted secret API key (may not be returned from all endpoints)
Time at which the API key was created
The ID of the user who created this API key
Time at which the API key was deleted
The ID of the client/user who deleted this API key
Time at which this API key will expire
Time at which the organization API key was last updated
The ID of the user who last updated this API key
DEPRECATED - The ID of the organization associated with this API key
Friendly name for this API key
The intended use of this API key
False if key authentication should be paused
The ID of the workspace associated with this API key. Mutually exclusive with company_id.
The ID of the company associated with this API key. Set for company-scoped keys that grant access to all workspaces owned by the company. Mutually exclusive with workspace_id.