---
title: "Update an existing user role in your service"
method: POST
path: "/v1/Services/{ChatServiceSid}/Roles/{Sid}"
tags: ["ConversationsV1Role"]
---

# Update an existing user role in your service

`POST /v1/Services/{ChatServiceSid}/Roles/{Sid}`

## Request

- Base URL: `https://conversations.twilio.com`
- URL: `https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Roles/{Sid}`
- Auth: HTTP basic

Update an existing user role in your service

## Path parameters

- `ChatServiceSid` string, required
- `Sid` string, required

## Request body `application/x-www-form-urlencoded`

- object
  - `Permission` string[], required: A permission that you grant to the role. Only one permission can be granted per parameter. To assign more than one permission, repeat this parameter for each permission value. Note that the update action replaces all previously assigned permissions with those defined in the update action. To remove a permission, do not include it in the subsequent update action. The values for this parameter depend on the role's `type`.

## Response `200`

OK

- ConversationsV1ServiceServiceRole
  - `sid` string, nullable: The unique string that we created to identify the Role resource.
  - `account_sid` string, nullable: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Role resource.
  - `chat_service_sid` string, nullable: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Role resource is associated with.
  - `friendly_name` string, nullable: The string that you assigned to describe the resource.
  - `type` 'conversation' | 'service': The type of role. Can be: `conversation` for [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) roles or `service` for [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) roles.
  - `permissions` string[], nullable: An array of the permissions the role has been granted.
  - `date_created` string, date-time, nullable: The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `date_updated` string, date-time, nullable: The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `url` string, uri, nullable: An absolute API resource URL for this user role.

## Changes

- **2023-08-10** (v1) `4e3f150aaa78`: 1 info
  - api tag `ConversationsV1Role` added

[Operation history](https://skmtc.dev/twilio/apis/conversations-v1/changes/v1/Services/:ChatServiceSid/Roles/:Sid/post.md)

---

[API](https://skmtc.dev/twilio/apis/conversations-v1.md) - [All operations](https://skmtc.dev/twilio/apis/conversations-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/twilio/apis/conversations-v1/revisions/6a37056c7727?raw)
