Actions40
- Audit Log Actions
- Dynamic Secret Actions
- Environment Actions
- Folder Actions
- Identity Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Folder → Delete
AI-generatedSummary
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 } }