Actions38
- Environment Actions
- Folder Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Folder → Delete
AI-generatedSummary
Delete a folder from an Infisical project and environment using its ID or name. The node sends the folder path and optional force-delete flag with the request, then returns the folder from the API response.
Inputs
- Project ID (required) — Infisical project ID.
- Environment (required) — Environment slug, such as dev, staging, or prod; defaults to dev.
- Folder Path — Parent path of the folder; defaults to /.
- Folder ID or Name (required) — ID or name of the folder to delete.
- Force Delete — Defaults to false. Set true to request deletion even when the folder contains secrets or subfolders.
Output shape
A single item containing the deleted folder object.
The node returns response.folder as the item's JSON. The API call is made once per incoming item; API errors are thrown unless Continue On Fail is enabled, in which case the item contains an error message.
