# Deactivate flow version `POST` `/api/v1/crm-connections/{crm_connection_id}/flows/{flow_id}/deactivate` Clears the active version of a flow, transitioning it to Obsolete. Returns 204 on success. If the flow has no active version, returns 204 without making changes. ## Path parameters | Name | Type | Required | Description | |------|------|----------|-------------| | crm_connection_id | string | yes | UUID of the CRM connection | | flow_id | string | yes | DurableId of the flow definition | ## Response `204 No Content` — `application/json` _No response body._ ## Errors | Status | Description | |--------|-------------| | 400 | Bad Request | | 403 | Forbidden | | 404 | Not Found | | 422 | Unprocessable Entity | | 502 | Bad Gateway |