POST /v1/Services/{ChatServiceSid}/Roles/{Sid}
Update an existing user role in your service
Servers
- https://conversations.twilio.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
Sid |
String | Yes |
The SID of the Role resource to update. |
ChatServiceSid |
String | Yes |
The SID of the Conversation Service to update the Role resource in. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/x-www-form-urlencoded" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
Permission[] |
Array | Yes |
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 |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.