RoleAssignments
Create a role assignment
Changed onCreate a role assignment for the given organization
post/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:ORa36de9717566c7eb6363671f54b87ba9
Request body
Example request
{
"role_sid": "IXc4ddb9d0befdb122b0eff334e3084544",
"scope": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"identity": "USc4ddb9d0befdb122b0eff334e3084544"
}Response
Created
Example response
{
"sid": "IYc4ddb9d0befdb122b0eff334e3084544",
"role_sid": "IXc4ddb9d0befdb122b0eff334e3084544",
"scope": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"identity": "USc4ddb9d0befdb122b0eff334e3084544"
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info