Projects states delete
Remove a board column; a column with work items needs move_to.
DELETE/api/v1/projects/{id}/states/{stateId}
Parameters
Path
| Name | In | Description |
|---|---|---|
idrequired | path | The record's id. |
stateIdrequired | path | The record's id. |
Query
| Name | In | Description |
|---|---|---|
move_to | query | State the column's work items move to. |
No body. Everything the call needs is in the path.
Example
curl
curl -X DELETE "https://crm.ashwanth.dev/api/v1/projects/{id}/states/{stateId}" \
-H "Authorization: Bearer $SALES_ENGINE_API_KEY"CLI
sales-engine projects states delete <id> <stateId>Response
A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.
Shape
{
"data": { ... }
}Run it below to see the live shape for your workspace.
Try it
Runs against this server, as the workspace behind the key. Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Path
requiredThe record's id.
requiredThe record's id.
Query
State the column's work items move to.
Request
DELETE /api/v1/projects/%7Bid%7D/states/%7BstateId%7D
Fill the path first.