Skip to main content

Create an API key

POST 

/api/v1/api-keys

Creates a new API key for the authenticated user. - If project_id is provided, the key is scoped to that project. - If policy_ids is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - If neither is provided, the key inherits the user's full permissions.

Request

Responses

API key created successfully. The raw key value is only returned once.