Folders

Create folders

post/api/v1/folders

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/folders
  • Auth
    HTTP bearer

Request body

workspaceIdstring required

The ID of the project to create the folder in.

environmentstring required

The slug of the environment to create the folder in.

namestring required

The name of the folder to create.

pathstring

The path of the folder to create.

directorystring

The directory of the folder to create. (Deprecated in favor of path)

descriptionstring nullable

An optional description label for the folder.

Response

Default Response

Changes

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