Cancel Load Action
Request
POST /api/<db>/_cancel
Description
Used to cancel the load transaction of the specified label.
Path parameters
<db>
Specify the database name
Query parameters
<label>
Specify the load label
Request body
None
Response
Cancel success
{
"msg": "OK",
"code": 0,
"data": null,
"count": 0
}
Cancel failed
{
"msg": "Error msg...",
"code": 1,
"data": null,
"count": 0
}
Examples
Cancel the load transaction of the specified label
POST /api/example_db/_cancel?label=my_label1
Response:
{
"msg": "OK",
"code": 0,
"data": null,
"count": 0
}