v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-054014269.7 KB
ChatV1Role

post/v1/Services/{ServiceSid}/Roles

Path parameters

ServiceSidstring required

The SID of the Service to create the resource under.

Response

Created

sidstring nullable

The unique string that we created to identify the Role resource.

account_sidstring nullable

The SID of the Account that created the Role resource.

service_sidstring nullable

The SID of the Service the resource is associated with.

friendly_namestring nullable

The string that you assigned to describe the resource.

type'channel' | 'deployment'

The type of role. Can be: channel for Channel roles or deployment for Service roles.

permissionsstring[] nullable

An array of the permissions the role has been granted, formatted as a JSON string.

date_createdstring date-time nullable

The date and time in GMT when the resource was created specified in RFC 2822 format.

date_updatedstring date-time nullable

The date and time in GMT when the resource was last updated specified in RFC 2822 format.

urlstring uri nullable

The absolute URL of the Role resource.