Cancel signal
DELETE/api/v1/signals/:id
Cancel a signal. cancelled means UTM did not send it, so only an
unclaimed queued signal qualifies. Returns 400 if the signal is
already cancelled or errored, and 409 if it has been sent to the
broker or is being sent right now (code: SIGNAL_ALREADY_TRANSMITTED
or SIGNAL_PROCESSING). Manage a sent signal's order in the UTM app.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 500
Signal cancelled
Signal is already cancelled or errored (code: PRECONDITION_FAILED)
Authentication required
Signal not found, or caller does not own it (code: NOT_FOUND)
The signal is no longer an unclaimed queued row, so cancelled
(UTM did not send it) no longer applies. Manage the order in the
UTM app instead of retrying the cancel.
code: SIGNAL_ALREADY_TRANSMITTED- the signal has been sent to the broker. Responsedetails.orderIdsnames every order linked to the signal (it may be empty if none was created yet).code: SIGNAL_PROCESSING- the signal is being claimed or placed right now. Check the signal again shortly; it carries noorderIdsbecause a placeholder order can still be replaced.
Unexpected server error