v50

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-07-068428533.0 MB
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

role_namestring required
entity_idstring uuid required
entity_type_namestring required
entity_region'us' | 'eu' | 'au' | 'me' | 'in' | 'sg' | '*' required

Region of the entity.

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.

idstring uuid required
role_namestring required
entity_idstring uuid required
entity_type_namestring required
entity_region'us' | 'eu' | 'au' | 'me' | 'in' | 'sg' | '*' required

Region of the entity.

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"
}