# Update user channel **POST /v2/Services/{ServiceSid}/Users/{UserSid}/Channels/{ChannelSid}** List of channels for a given user ## Servers - https://chat.twilio.com: https://chat.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **ServiceSid** (string) The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to update the User Channel resource in. - **UserSid** (string) The SID of the [User](https://www.twilio.com/docs/chat/rest/user-resource) to update the User Channel resource from. This value can be either the `sid` or the `identity` of the User resource. - **ChannelSid** (string) The SID of the [Channel](https://www.twilio.com/docs/chat/channels) with the User Channel resource to update. This value can be the Channel resource's `sid` or `unique_name`. ### Body: application/x-www-form-urlencoded (object) - **NotificationLevel** (string) The push notification level of the User for the Channel. Can be: `default` or `muted`. - **LastConsumedMessageIndex** (integer | null) The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) in the [Channel](https://www.twilio.com/docs/chat/channels) that the Member has read. - **LastConsumptionTimestamp** (string(date-time)) The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). ## Responses ### 200 OK #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the User Channel resource. - **service_sid** (string | null) The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) the User Channel resource is associated with. - **channel_sid** (string | null) The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the User Channel resource belongs to. - **user_sid** (string | null) The SID of the [User](https://www.twilio.com/docs/chat/rest/user-resource) the User Channel belongs to. - **member_sid** (string | null) The SID of a [Member](https://www.twilio.com/docs/chat/rest/member-resource) that represents the User on the Channel. - **status** (string) The status of the User on the Channel. Can be: `joined`, `invited`, or `not_participating`. - **last_consumed_message_index** (integer | null) The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) in the [Channel](https://www.twilio.com/docs/chat/channels) that the Member has read. - **unread_messages_count** (integer | null) The number of unread Messages in the Channel for the User. Note that retrieving messages on a client endpoint does not mean that messages are consumed or read. See [Consumption Horizon feature](https://www.twilio.com/docs/chat/consumption-horizon) to learn how to mark messages as consumed. - **links** (object(uri-map) | null) The absolute URLs of the [Members](https://www.twilio.com/docs/chat/rest/member-resource), [Messages](https://www.twilio.com/docs/chat/rest/message-resource) , [Invites](https://www.twilio.com/docs/chat/rest/invite-resource) and, if it exists, the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) for the Channel. - **url** (string(uri) | null) The absolute URL of the User Channel resource. - **notification_level** (string) The push notification level of the User for the Channel. Can be: `default` or `muted`. [Powered by Bump.sh](https://bump.sh)