Portal Team Roles
Assign Role
Assign a role to a developer team. This associates the set of permissions in a role with the team, so that they will be applied to any developer who is a member of the team.
post/v3/portals/{portalId}/teams/{teamId}/assigned-roles
Request body
Example request
{
"role_name": "API Viewer",
"entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
"entity_type_name": "Services",
"entity_region": "us"
}Response
Details about the role assignment.
Example response
{
"id": "1a3c2169-27f8-4594-926b-41df3432d5dc",
"role_name": "API Viewer",
"entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
"entity_type_name": "Services",
"entity_region": "us"
}