Assign Role
Changed onAssign 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.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/portals/{portalId}/teams/{teamId}/assigned-roles
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
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"
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to theresponse property for the response status
- warning