Update a channel route

View as Markdown

Updates a route’s name, target, payload mapping, RUN-IF gate, or status. Authorization: organization administrators only. Returns 404 if the channel or route is missing.

Authentication

AuthorizationBearer

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

Path parameters

channelIdstringRequired
routeIdstringRequired

Request

This endpoint expects an object.
namestringOptional1-120 characters
targetobjectOptional
payloadMappingmap from strings to strings or nullOptional
runIfany or nullOptional
statusenumOptional
Allowed values:

Response

The updated route.
routeobject