Skip to main content
PATCH
/
projects
/
{projectId}
/
environments
/
{environmentId}
Error
A valid request URL is required to generate request examples
{
  "status": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

Path Parameters

projectId
string
required
environmentId
string
required

Body

application/json
name
string

The name of the environment

title
string

The title of the environment

attributes
Arbitrary attributes · object

Arbitrary attributes attached to this resource

type
enum<string>

The type of environment (production, staging or development), if not provided, a default will be calculated

Available options:
development,
production,
staging
parent
string | null

The name of the parent environment

clone_parent_on_create
boolean

Clone data when creating that environment

http_access
HTTP access permissions · object

The HTTP access permissions for this environment

enable_smtp
boolean

Whether to configure SMTP for this environment

restrict_robots
boolean

Whether to restrict robots for this environment

Response

default - application/json
status
string
required

The status text of the response

code
integer
required

The status code of the response