deleteDelete a deployment

Deletes the deployment and its routings. Returns 409 if linked execution history prevents deletion. Removing a deployment can change which remaining deployment handles future executions, or leave the decision without a deployment in that environment. Deletion is idempotent: an absent ID in the active workspace also returns 204 with no response body.

Required service-token scope: deployment:delete. End-user access is checked against workspace policies. Send a Bearer token and the X-Workspace-Id header.

curl --request DELETE \
  --url https://api.test.neobits.ai/logic/v1/deployments/019991b1-0000-7000-8000-000000000004 \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'X-Workspace-Id: 019991b1-0000-7000-8000-000000000001'

Request

Headers

  • Authorization•string

    Bearer token authentication using OAuth 2.0 client credentials flow.

  • X-Workspace-Id•string<uuid>

    Active workspace UUID. The authenticated principal must have access to this workspace.

Params (path)

  • id•string<uuid>

    Deployment identifier.

Response

No response body or headers defined for status 204