API Guide

]
}
default — Success or error response
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
POST /lcm/update-jobs/{id}/cancel
Request to cancel a switch image update job.
API
POST /lcm/update-jobs/{id}/cancel
Description This API requests to cancel a job that is scheduled to deploy. The cancelled job returns back to approved state.
Parameters
Table 59. API parameters
Filter name Description
*id
required
string
(path)
Unique identifier of the switch image update job.
Responses 200 — Success or error response
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
122 Life cycle management