environments

Delete environment

Delete an environment.

Its deployments are deactivated, its connectors disabled and its OAuth apps removed, and its scheduled, queued, running and approval-waiting runs are cancelled. The default environment and the last standard environment cannot be deleted (400); a test environment with an active test session returns 409.

Required permission: environments.delete.

delete/v1/projects/{project_id}/environments/{environment_id}

Request

  • Base URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/environments/{environment_id}
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

environment_idstring uuid required

Environment ID from GET /environments.

Response

Successful Response

okboolean required

Whether the operation succeeded.

Changes

No recorded changes to this operation across all 2 revisions of this API.