Skip to main content
POST
/
v1
/
system
/
api-keys
Create an API key
curl --request POST \
  --url https://revstack.dev/v1/system/api-keys \
  --header 'Content-Type: application/json' \
  --data '
{
  "environmentId": "<string>",
  "name": "<string>",
  "type": "public",
  "scopes": []
}
'
null

Body

application/json
environmentId
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
public,
secret
scopes
string[]

Response

201 - application/json

API key created

The response is of type unknown.