Skip to main content
POST
/
v1
/
environments
Create an environment
curl --request POST \
  --url https://revstack.dev/v1/environments \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "projectId": "<string>"
}
'
null

Body

application/json
name
string
required
Minimum string length: 1
projectId
string
required
Minimum string length: 1

Response

201 - application/json

Environment created

The response is of type unknown.