POST
/
api
/
v1
/
folders

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Body

application/json
workspaceId
string
required

The ID of the project to create the folder in.

environment
string
required

The slug of the environment to create the folder in.

name
string
required

The name of the folder to create.

path
string
default: /

The path of the folder to create.

directory
string
default: /

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

Response

200 - application/json
folder
object
required

Was this page helpful?