CANCEL LABEL

description

1. NAME:
2. cancel_label: cancel a transaction with label

4. SYNOPSIS
5. curl -u user:passwd -XPOST http://host:port/api/{db}/_cancel?label={label}

7. DESCRIPTION

9. This is to cancel a transaction with specified label.

11. RETURN VALUES

13. Return a JSON format string:

15. Status:
16. Success: cancel succeed
17. Others: cancel failed
18. Message: Error message if cancel failed

20. ERRORS

example

1. 1. Cancel the transaction with label "testLabel" on database "testDb"

3. curl -u root -XPOST http://host:port/api/testDb/_cancel?label=testLabel

keyword

1. CANCEL, LABEL