Skip to main content
PUT
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Routing strategy ID (rs_ prefix).

Body

application/json

Request body for replacing a routing strategy. Full document replacement; missing optional fields are cleared.

name
string
required

Human-readable name for the routing strategy.

routing
MessageRouting · object
required

Routing tree defining channel selection method and order.

description
string | null

Optional description. Omit or null to clear.

tags
string[] | null

Optional tags. Omit or null to clear.

channels
MessageChannels · object | null

Per-channel delivery configuration. Omit to clear.

providers
MessageProviders · object | null

Per-provider delivery configuration. Omit to clear.

Response

Full routing strategy entity returned by GET.

id
string
required

The routing strategy ID (rs_ prefix).

name
string
required

Human-readable name.

routing
MessageRouting · object
required

Routing tree defining channel selection method and order.

channels
MessageChannels · object
required

Per-channel delivery configuration. May be empty.

providers
MessageProviders · object
required

Per-provider delivery configuration. May be empty.

created
integer<int64>
required

Epoch milliseconds when the strategy was created.

creator
string
required

User ID of the creator.

description
string | null

Description of the routing strategy.

tags
string[] | null

Tags for categorization.

updated
integer<int64> | null

Epoch milliseconds of last update.

updater
string | null

User ID of the last updater.