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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;archived&quot;:&quot;\u003cboolean\u003e&quot;,&quot;authorized&quot;:&quot;\u003cboolean\u003e&quot;,&quot;channelId&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;inboxId&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;archivedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;deliveryIdentifier&quot;:{&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;}}