> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kuru.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel conditional order

> Cancel an active trigger over the wallet-bound Relay WebSocket.

Send `wallet.cancel_trigger` with a connection-local `id` and an unused trigger nonce. See the [REST payload reference](/api/relay/reference/cancel-trigger) for signing constraints.


## AsyncAPI

````yaml api/relay/asyncapi.yaml cancelTrigger
id: cancelTrigger
title: Cancel conditional order
description: Cancel an active trigger with a signed one-shot nonce.
servers:
  - id: mainnet
    protocol: wss
    host: relay.mainnet.kuru.io
    bindings: []
    variables: []
  - id: testnet
    protocol: wss
    host: relay.testnet.kuru.io
    bindings: []
    variables: []
address: /relay/ws
parameters: []
bindings: []
operations:
  - &ref_1
    id: receiveCancelTrigger
    title: Receive cancel trigger
    type: receive
    messages:
      - &ref_2
        id: request
        contentType: application/json
        payload:
          - allOf: &ref_0
              - type: object
                additionalProperties: false
                required:
                  - id
                  - method
                  - payload
                properties:
                  id:
                    type: string
                    minLength: 1
                    maxLength: 128
                    description: Correlation ID unique within this connection.
                    x-parser-schema-id: <anonymous-schema-1>
                  method:
                    type: string
                    x-parser-schema-id: <anonymous-schema-2>
                  payload:
                    type: object
                    x-parser-schema-id: <anonymous-schema-3>
                  authorization7702:
                    oneOf:
                      - type: object
                        x-parser-schema-id: <anonymous-schema-5>
                      - type: 'null'
                        x-parser-schema-id: <anonymous-schema-6>
                    default: null
                    x-parser-schema-id: <anonymous-schema-4>
                x-parser-schema-id: BaseRequest
              - type: object
                properties:
                  method:
                    type: string
                    const: wallet.cancel_trigger
                    x-parser-schema-id: <anonymous-schema-23>
                x-parser-schema-id: <anonymous-schema-22>
            x-parser-schema-id: CancelTriggerRequest
            name: wallet.cancel_trigger
        headers: []
        jsonPayloadSchema:
          allOf: *ref_0
          x-parser-schema-id: CancelTriggerRequest
        title: wallet.cancel_trigger
        example: |-
          {
            "id": "cancel-trigger-44",
            "method": "wallet.cancel_trigger",
            "payload": {
              "accountId": "123",
              "authNonce": "1",
              "nonce": "1720000000999",
              "deadline": "1720000030",
              "triggerId": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
              "signature": "0x..."
            },
            "authorization7702": null
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: request
    bindings: []
    extensions:
      - id: x-parser-unique-object-id
        value: cancelTrigger
sendOperations:
  - *ref_1
receiveOperations: []
sendMessages:
  - *ref_2
receiveMessages: []
extensions:
  - id: x-parser-unique-object-id
    value: cancelTrigger
securitySchemes:
  - id: bearerAuth
    name: bearerAuth
    type: http
    description: Wallet-bound JWT supplied in the WebSocket upgrade Authorization header.
    scheme: bearer
    bearerFormat: JWT
    extensions: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.