RoleAssignments
List role assignments
Changed onList role assignments for the given organization
get/Organizations/{OrganizationSid}/RoleAssignments
Request
- Base URLhttps://preview-iam.twilio.com
- URLhttps://preview-iam.twilio.com/Organizations/{OrganizationSid}/RoleAssignments
- AuthOAuth 2Client credentialsToken URL: https://preview-iam.twilio.com/v1/token
Path parameters
OrganizationSidstring OrganizationSid required
Example:OR33f4f3aa6fffe840d000f8ef22e883db
Query parameters
PageSizeinteger
PageTokenstring
Identitystring Sid
Example:USa36de9717566c7eb6363671f54b87ba9
Scopestring Sid
Example:ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
ResourceTypestring
Filter by resource type for resource-level role assignments
ResourceIdstring
Filter by resource id for resource-level role assignments
Response
Returned list of role assignments
Example response
{
"content": [
{
"sid": "IYc4ddb9d0befdb122b0eff334e3084544",
"role_sid": "IXc4ddb9d0befdb122b0eff334e3084544",
"scope": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"identity": "USc4ddb9d0befdb122b0eff334e3084544"
}
]
}Changes
- info
added the new optional
queryrequest parameterResourceId - info
added the new optional
queryrequest parameterResourceType - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning