Skip to main content
POST
/
v1
/
api-keys
Create Api Key
curl --request POST \
  --url https://api.example.com/v1/api-keys \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "role": "developer",
  "environment": "<string>"
}
'
{}

Query Parameters

project_id
string<uuid>
required

Body

application/json
name
string
required
Required string length: 1 - 255
role
enum<string>
default:developer
Available options:
admin,
developer,
viewer
environment
string | null

Response

Successful Response

The response is of type Response Create Api Key V1 Api Keys Post · object.