# Remove a secret file `DELETE /v1/environments/{environment}/secret-files` **In this build:** Real. **Scope:** `environment.write` **CLI:** `harebox env file rm` ## Query `path` ## Response: 204 No content. Errors follow [one format](../errors.html).