POST
/
api
/
v1
/
workspace
/
{workspaceId}
/
environments

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

workspaceId
string
required

The ID of the project to create the environment in.

Body

application/json
name
string
required

The name of the environment to create.

slug
string
required

The slug of the environment to create.

Response

200 - application/json
message
string
required
workspace
string
required
environment
object
required

Was this page helpful?