ProjectProject_env
Deletes a project, environment, or template depending on the parameters provided.
- No query params → deletes the env named in
project_env(e.g.my-app-production), or the whole project ifproject_envis just a slug. envId→ deletes that specific environment.templateId→ deletes that specific template. SetforceDelete=trueto remove resources that still have active clients.
x-api-key<token>
HMAC-SHA256 signed key produced by the apikee engine.
Format: <base62-id>.<base62-claims>.<base62-hmac>
The first 12 characters are the keyPrefix (safe for logging).
In: header
Path Parameters
project_env*string
Query Parameters
envId?string
ID of the environment to delete. Takes precedence over the slug-inferred env.
templateId?string
ID of the template to delete.
forceDelete?boolean
Set to true to force-delete even when active clients exist.
Response Body
application/json
curl -X DELETE "https://apikee.dev/api/v1/project/string"{
"success": true,
"deleted": "project",
"forced": true
}