Skip to main content
POST
Create an Organization API Key

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

keys:write

Create and manage API keys

Path Parameters

organizationID
string
required

Unique identifier for a specific organization

Pattern: [a-zA-Z0-9_-~:]+

Body

application/json
name
string
required
expiry
string<date-time> | null

Expiration date for the API key, null for no expiry

scopes
string[]

Optional scopes assigned to the API key

Maximum array length: 50
projects
string[]

Limit access to these projects

Maximum array length: 50
branches
string[]

Limit access to these branches

Maximum array length: 50

Response

API Key created

key
object
required