Make a pipeline the default
PUT /pipelines/{uuid}/actions/make_default
/pipelines/{uuid}/actions/make_defaultMakes this pipeline the default one of the account. The previous default stops being it.
When to use: When the user wants a different pipeline to be the one that opens first and the one used when no other is chosen.
When not to use: To create a pipeline, use create_pipeline. To rename it, use update_pipeline.
Side effects: Only the flag default changes. The change is saved atomically. Existing deals keep their data; nothing is sent, no automation runs and no webhook fires (CRM webhook events do not exist yet).
Permissions: Requires a CRM seat and the crm.pipelines.manage capability. It also needs admin access to the pipeline.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the pipeline. Get it from list_pipelines.
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/pipelines/d2a7e5b1-9c43-4f68-b0a1-3e6c8f2d4b57/actions/make_default" \ -H "X-Auth-Token: YOUR_API_KEY"{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "name": "string", "reference_currency": "string", "default": true, "allow_custom_probability": true, "allow_multiple_currencies": true, "access_level": "read", "initial_stage": "f73de70a-30e5-4d17-9ead-29d8c8067fde", "stages": [ { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "name": "string", "color": "string", "type": "open", "probability": 0, "position": 0, "max_calendar_days": 0, "loss_reason_mode": "disabled", "required_fields": [ "string" ], "required_attributes": [ "string" ] } ], "loss_reasons": [ { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "name": "string", "position": 0, "status": "active", "used": true } ]}