POST /v1/Services/{ChatServiceSid}/Roles
Create a new user role in your service
Servers
- https://conversations.twilio.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
ChatServiceSid |
String | Yes |
The SID of the Conversation Service to create the Role resource under. |
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 new role. Only one permission can be granted per parameter. To assign more than one permission, repeat this parameter for each permission value. The values for this parameter depend on the role's |
Type |
String | Yes |
Possible values:
|
FriendlyName |
String | Yes |
A descriptive string that you create to describe the new resource. It can be up to 64 characters long. |
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.