Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Folder → Delete

AI-generated

Summary

Delete folder

Inputs

  • folderId (required) — The ID (or name, for delete) of the folder
  • projectId (required) — The project to operate on
  • environment (required) — The environment slug (e.g. dev, staging, prod)
  • requestOptions — HTTP request configuration such as batching, proxy, SSL settings, timeout

Output shape

no body

Success returns null; errors return an error object

Examples

Example 1: Delete a temporary folder in the dev environment

folderId: '3c90c3cc-0d44-4b50-8888-8dd25736052a', projectId: 'proj_123', environment: 'dev'

Example 2: Delete a folder with batching enabled

folderId: 'folder_abc', projectId: 'proj_456', environment: 'staging', requestOptions: { batching: { batchSize: 100 } }

Links

Discussion