Skip to main content
client.folders.update_folder() renames a folder or changes its description.
update_folder requires infisicalsdk version 1.0.17 or newer.

Parameters

str
required
The ID of the folder. To find the ID of a folder that you know by name, call list_folders.
str
required
The new name of the folder. To keep the current name, pass it again.
str
required
The ID of the project.
str
required
The slug of the environment that the folder is in.
str
default:"/"
The path of the folder’s parent folder.
str
A new description of the folder. If you leave it out, the folder keeps its description, so you can’t use this method to remove a description.

Returns

UpdateFolderResponseItem
The updated folder, with its id, name, description, and path.