Environments

Create environment

post/api/v1/projects/{projectId}/environments

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/projects/{projectId}/environments
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

The ID of the project to create the environment in.

Request body

namestring required

The name of the environment to create.

positionnumber

The position of the environment. The lowest number will be displayed as the first environment.

slugstring required

The slug of the environment to create.

Response

Default Response

messagestring required
projectIdstring required

Changes

No recorded changes to this operation across all 65 revisions of this API.