Environments
Create
Create environment
POST
/
api
/
v1
/
workspace
/
{workspaceId}
/
environments
Authorizations
Authorization
string
headerrequiredAn access token in Infisical
Path Parameters
workspaceId
string
requiredThe ID of the project to create the environment in.
Body
application/json
name
string
requiredThe name of the environment to create.
slug
string
requiredThe slug of the environment to create.
Response
200 - application/json
message
string
requiredworkspace
string
requiredenvironment
object
required