/{chain}/streams/{id}

Updates the supplied fields on an existing subscription. Omitted fields remain unchanged.

Common operations:

  • Change webhook URL: set webhookUrl to the new URL.
  • Remove webhook delivery: set webhookUrl to an empty string (subscription must have WebSocket delivery enabled).
  • Pause delivery: set active to false. Pending webhooks are held until you resume.
  • Resume delivery: set active to true.
  • Change filters: set partyFilter and/or filters. See the create endpoint for available filter types.

At least one delivery method (webhook or websocket) must remain enabled after the update.

Path Params
string
required
Defaults to canton

Canton chain name. Use a name returned by GET /chains.

uuid
required

Subscription ID (UUID).

Body Params

Subscription fields to update.

string | null

New webhook URL. Set to empty string "" to remove webhook delivery.

boolean | null

Enable or disable WebSocket delivery.

string | null

New party filter. Set to empty string "" to clear and receive updates for all parties.

filters
object | null

Replace the subscription's filters. See create endpoint for structure.

boolean | null

Enable or disable raw update data in deliveries.

boolean | null

Set to false to pause delivery (pending webhooks are held), or true to resume.

Headers
string
required
Defaults to demokey

API Key for Canton API. To generate an API Key, visit https://app.noves.fi

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json