Skip to main content
POST
Create or update a native channel config

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Used by ordinary gateway operations; not accepted by Console-only operations. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
name
string
required

Channel config name

credentialConnection
string

Credential Manager connection id

execute
boolean

Apply a --force switch (without it --force only previews)

force
boolean

Emergency: move the account to active WITHOUT a passing shadow verdict (needs --execute; the use is recorded in the command audit and the log)

mode
string

active (the native channel owns the account) or shadow (it observes, the reference path delivers). Default: shadow, except for a provider with no other path (slack), which is active

provider
string

Channel provider, e.g. slack

Response

Success — body conforms to the @Returns schema.

changedCount
number
required
channel
object
required
status
string
required