Environments
Delete environment
delete/api/v1/projects/{projectId}/environments/{id}
Request
- Base URLhttps://us.infisical.com
- URLhttps://us.infisical.com/api/v1/projects/{projectId}/environments/{id}
- AuthHTTP bearer
Path parameters
projectIdstring required
The ID of the project to delete the environment from.
idstring required
The ID of the environment to delete.
Query parameters
hardDelete'true' | 'false'
When true, permanently removes the environment. When false or omitted, the environment is soft-deleted (preserved and scheduled for permanent deletion after a grace period) and hidden from subsequent reads.
Response
Default Response
Changes
No recorded changes to this operation across all 65 revisions of this API.