Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Folder → Update

AI-generated

Summary

Update a folder

Inputs

  • folderId (required) — The ID (or name, for delete) of the folder
  • name (required) — The name of the folder
  • projectId (required) — The project to operate on
  • environment (required) — The environment slug (e.g. dev, staging, prod)
  • path — Path of the parent folder. Defaults to the root path.
  • additionalFields — Additional fields to send in the request (e.g., description).
  • requestOptions — Request settings such as batching, proxy, timeout, and SSL verification.

Output shape

a single folder object

Returns the updated folder details; no pagination; errors are wrapped in an error envelope.

Examples

Example 1: Update an existing folder's name and description

Provide folderId, set name to new value, add description via additionalFields, keep projectId and environment set.

Example 2: Rename a folder while keeping its path

Set folderId and name, leave path unchanged, specify projectId and environment.

Links

Discussion