Skip to main content
POST
/
v1
/
environments
Create an environment
curl --request POST \
  --url http://localhost:6900/v1/environments \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>",
  "is_default": false,
  "project_id": "<string>"
}
'
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
name
string
required
Minimum string length: 1
slug
string
required
Minimum string length: 1
is_default
boolean
default:false
project_id
string

Response

201 - application/json

Environment created

The response is of type unknown.