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

Documentation Index

Fetch the complete documentation index at: https://docs.revstack.dev/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
environment_id
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.