PATCH
/
api
/
v1
/
folders
/
{folderId}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

folderId
string
required

The ID of the folder to update.

Body

application/json
environment
string
required

The slug of the environment where the folder is located.

name
string
required

The new name of the folder.

workspaceId
string
required

The ID of the project where the folder is located.

directory
string
default:
/

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

path
string
default:
/

The path of the folder to update.

Response

200 - application/json
folder
object
required

Was this page helpful?