Skip to main content
Skip table of contents

Abort a Transaction

Aborts the transaction indicated by the specified transaction.transId.

Path Components

CODE
DELETE /lightwave/api/v1/transaction/{transaction-id}
NameUseDescription
transaction-idrequiredThe transaction ID value returned from a previous begin transaction call.

Parameters

Request

NameUseDescription
lw-correlation-idoptionalA caller supplied identifier to be copied to the response.
lw-suppress-statusoptionalUse to indicate that the HTTP response status code should be "200 OK", regardless of the outcome of the operation.

Response

NameDescription
lw-correlation-idThe value of the correlationId supplied in the request, if any.
lw-errorIf an error occurred, a description of the error.
lw-http-reasonThe HTTP response reason. Present if lw-suppress-status was supplied in the request.
lw-http-statusThe HTTP response status. Present if lw-suppress-status was supplied in the request.
lw-transaction-idThe transaction ID of the TMF transaction associated with the request, if any.
lw-transaction-stateThe transaction state of the TMF transaction associated with the request, if any.

Example

Request

TEXT
DELETE http://lightwave.example.com/lightwave/api/v1/transaction/2c00031c9b890000c40ff4182950cac4 HTTP/1.1
Content-Length: 0

Response

TEXT
HTTP/1.1 200 OK
Content-Length: 0
lw-transaction-state: aborted
lw-transaction-id: 2c00031c9b890000c40ff4182950cac4
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.