Assign Team Role
Changed onAssigns a role to a team. Returns 409 if role is already assigned.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/teams/{teamId}/assigned-roles
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"role_name": "Viewer",
"entity_id": "e67490ce-44dc-4cbd-b65e-b52c746fc26a",
"entity_type_name": "Control Planes",
"entity_region": "eu"
}Response
A get action response of a single assigned role.
Example response
{
"id": "54cc6168-ebb1-4300-8168-d62a0dd08fc8",
"role_name": "Viewer",
"entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
"entity_type_name": "Control Planes",
"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
401.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