Cancel Task
Changed onRequest cancellation of an in-flight design task.
Returns 200 with the canceled Task envelope if the executor acknowledges within 5 seconds, or 202 with a canceling Task envelope if the signal was published but the executor hasn't acknowledged yet. Clients should poll the Task status (or subscribe to events) to observe the terminal transition.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/tasks/{task_id}/cancel
- AuthHTTP bearer
Path parameters
Prefixed task_ wire ID (Crockford base32 body) — the canonical, recommended form. For back-compat, a bare UUID string is also accepted in both path parameters and JSON request bodies (older integrations that stored raw UUIDs keep working), as is the prefix over a UUID body (task_00000000-0000-4000-8000-000000000000). All three are permanent, supported inputs; only the canonical form is ever emitted.
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Response
Successful Response
Changes
- warning
added the new
layerize_assetsenum value to theresponse property for the response status - warning
added the new
layerize_assetsenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added to the
response propertyanyOflist for the response status - info
added to the
response propertyanyOflist for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning