Update a channel
PATCH/v1/projects/:project_id/channels/:channel_id
Rotate the credential, update the kind's config (waba_id / credential_source for WhatsApp, modes for Discord), or flip the naturali-side status. At least one field is required. Rotating a WhatsApp token stores a new write-only secret, repoints the send tool and deletes the old secret; rotating a Discord bot token reseals it and the gateway worker reconnects with it.
Request
Responses
- 200
- 400
- 401
- 404
- 502
Channel updated.
The request was malformed or failed validation.
Missing or invalid credentials.
The resource does not exist (existence is not leaked).
The upstream runtime, or Meta, could not complete the operation.