Cancel pending update work on every screen the deployment reaches
POST
/api/v1/update-deployments/{id}/cancel
const url = 'https://example.com/api/v1/update-deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/cancel';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/update-deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/cancelRequires an Owner or Administrator with CSRF and write scope. Cancels active or paused work. Installed updates stay installed.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “ Responses ”Cancelled
Media typeapplication/json
object
data
required
object
id
required
string format: uuid
status
required
string
Example
{ "data": { "status": "cancelled" }}Reaches screens outside the caller’s scope
Scoped callers only - unknown or reaching no screen in scope
Already complete, or unknown to an unscoped caller