Terminate a transaction (DELETE)
The DELETEcommand terminates the transaction that you have already initiated on the system. To perform this procedure, you must have Operator-level access, or higher.
Command overview
Method — DELETE
Resource — Transaction
Resource identifier — Transaction identifier (tid) returned in the request that initiated the transaction
Parameters
Parameter | Description | Example |
---|---|---|
usr 1 | A valid system user name (case sensitive) | usr=myUsername |
pwd 1 | The password that corresponds to the usr (user name) parameter (case sensitive) | pwd=myPassword |
1 This parameter is required.
Sample request
https://10.0.0.1/rest/configurationapi/transactionapi/1.0/transaction/4367?usr=jdoe&pwd=pa55w0rd!
Sample successful response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status result="success"></status>
</response>
<response>
<status result="success"></status>
</response>
Sample unsuccessful response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status result="failure">
<msg code="XXXXX" severity="ERROR">Execution failure.
Transaction with id '456' does not exist.</msg>
</status>
</response>
<response>
<status result="failure">
<msg code="XXXXX" severity="ERROR">Execution failure.
Transaction with id '456' does not exist.</msg>
</status>
</response>
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*