跳至主要内容

Delete a single usage summary task

DELETE 

/platform/solutions/api/v1/reports/usage-jobs/{usageJobId}

This API deletes an existing usage summary task identified by the provided usageJobId.

When the task is successfully deleted, it will no longer send any usage summary requests.

If the specified usageJobId does not exist, an error message will be returned.

Notes

  • Make sure the usageJobId is correct before calling this API.
  • Deleting a task is irreversible.

200 Response

{
status: deleted,
jobs: [
924ff7c4-9b87-4fc0-971e-6aca4baf766d_ActiveDeviceCount,
924ff7c4-9b87-4fc0-971e-6aca4baf766d_DataPointCount
]
}

500 Response

{
message: summary report schedule id not found
}

Request

Responses

OK