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

    1. {
    2. "msg": "OK",
    3. "code": 0,
    4. "data": null,
    5. "count": 0
    6. }
  • Cancel failed

    1. {
    2. "msg": "Error msg...",
    3. "code": 1,
    4. "data": null,
    5. "count": 0
    6. }

Examples

  1. Cancel the load transaction of the specified label

    1. POST /api/example_db/_cancel?label=my_label1
    2. Response:
    3. {
    4. "msg": "OK",
    5. "code": 0,
    6. "data": null,
    7. "count": 0
    8. }