Skip to content
Get started

API Keys

Create
projects.api_keys.create(strproject_id, APIKeyCreateParams**kwargs) -> APIKeyCreateResponse
POST/projects/{projectId}/api-keys
Delete
projects.api_keys.delete(strkey_id, APIKeyDeleteParams**kwargs) -> object
DELETE/projects/{projectId}/api-keys/{keyId}
ModelsExpand Collapse
class APIKeyCreateResponse: …
id: str
author_id: str
created_at: str
owner_type: Literal["project", "team"]
One of the following:
"project"
"team"
secret: str
user_id: str

The key’s member id (apiu_...), taken by the member routes; the api-keys routes take id.

owner_id: Optional[str]
team_id: Optional[str]