Update a channel account
PATCH {{baseUrl}}/conversations/v3/custom-channels/:channelId/channel-accounts/:channelAccountId
This API is used to update the name of the channel account and it's isAuthorized status. Setting to isAuthorized flag to False disables the channel account.
Request Body
{"authorized"=>"<boolean>", "name"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"active":"\u003cboolean\u003e","archived":"\u003cboolean\u003e","authorized":"\u003cboolean\u003e","channelId":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e","id":"\u003cstring\u003e","inboxId":"\u003cstring\u003e","name":"\u003cstring\u003e","archivedAt":"\u003cdateTime\u003e","deliveryIdentifier":{"type":"\u003cstring\u003e","value":"\u003cstring\u003e"}}