POST
/
api
/
v1
/
folders

Authorizations

Authorization
string
header
required

An access token in Infisical

Body

application/json
environment
string
required

The slug of the environment to create the folder in.

name
string
required

The name of the folder to create.

workspaceId
string
required

The ID of the project to create the folder in.

directory
string
default:
/

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

path
string
default:
/

The path of the folder to create.

Response

200 - application/json
folder
object
required

Was this page helpful?