Actions38
- Environment Actions
- Folder Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Environment → Restore
AI-generatedSummary
Restore a soft-deleted environment in an Infisical project by its environment ID.
Inputs
- Project ID (required) — The ID of the Infisical project the environment belongs to.
- Environment ID (required) — The ID of the environment to restore.
Output shape
a single JSON object representing the restored environment
The output contains the restored environment data under the 'json' property, paired with the input item. This operation requires an Infisical version that supports environment restoration.
Examples
Example 1: Restore a soft-deleted environment by environment ID
Provide the Project ID and Environment ID to restore the environment to an active state.
