Cancel a Scheduled Upgrade

DELETE /campaigns/{acc}/{campaignId}

Allows you to cancel a software upgrade. A software upgrade can be canceled before the start date. Once the campaign has started, it cannot be canceled. The campaign will continue through the scheduled end date.

Request Components

HTTP Request

DELETE https://thingspace.verizon.com/api/fota/v3/campaigns/{acc}/{campaignId}

Resource Path Parameters

Parameter Name Data Type Description
acc
required
string Account identifier.
campaignId
required
string Software upgrade identifier, returned in the "id" value of the POST /{campaigns}/acc response when the upgrade was scheduled.

Header Parameters

The request header must contain a current ThingSpace authorization token, set the content to "JSON" and a current VZ-M2M-session token.

Parameter Name Data Type Description
Authorization
required
string HTTP Authorization request header containing a valid Bearer token.
VZ-M2M-Token
required
string A valid session token returned by a Connectivity Management POST /session/login request.
Content-Type
required
string Must be application/json.

Request Body

None

Example Request

Request a software upgrade cancelation.

curl -X DELETE https://thingspace.verizon.com/api/fota/v3/campaigns/{acc}/{campaignId}
-H 'VZ-M2M-Token: {M2M token}' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {bearer token}' \

Success Responses

Status 200

Parameter Name Data Type Description
success Boolean True or false.

Example Success Response

{
  "success": true
}

Failure Responses

Status 400

All error messages are returned in this format:

 {
   "errorCode": "error code string",
   "errorMessage": "error message string"
}

Error codes and messages are listed on the Error Messages page, along with explanations and suggestions for corrective actions.