PATCH
/
api
/
v1
/
folders
/
{folderId}

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

folderId
string
required

The ID of the folder to update.

Body

application/json
workspaceId
string
required

The ID of the project where the folder is located.

environment
string
required

The slug of the environment where the folder is located.

name
string
required

The new name of the folder.

path
string
default: /

The path of the folder to update.

directory
string
default: /

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

Response

200 - application/json
folder
object
required

Was this page helpful?