Environments
Delete Environment
Changed onDelete a custom environment. All per-environment integration configuration overrides bound to it are removed as well. The built-in environments (production / staging) cannot be deleted, and org-scoped environments cannot be deleted from the workspace routes.
Requires Workspace Owner or Workspace Creator role.
Note: Environment APIs are available only with self-hosted Enterprise plans and cloud-hosted plans. Creating custom environments requires a plan that includes the custom-environments feature.
delete/api/v3/meta/workspaces/{workspaceId}/environments/{environmentId}
Request
- Base URLhttps://app.nocodb.com
- Auth
- API key in header xc-token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspaceIdstring required
Workspace ID
environmentIdstring required
Environment ID
Response
Environment deleted successfully
boolean required
Example response
true
Changes
- info
endpoint added
- info