Groups

Create Group's Roles

Changed on

Create roles for a specified group

post/groups/{GroupId}/roles

Request

  • Base URL
    http://localhost:8001
  • Auth
    API key in header Kong-Admin-Token

Path parameters

GroupId, string required

ID of the Group to lookup

Request body

GroupRole required
group, object nullable
group_id, string nullable

ID of the group.

rbac_role, object nullable
role_id, string nullable

ID of the RBAC role assigned to the group.

workspace, string nullable

Workspace ID.

Response

Successfully created or updated roles.

GroupRole required
group, object nullable
group_id, string nullable

ID of the group.

rbac_role, object nullable
role_id, string nullable

ID of the RBAC role assigned to the group.

workspace, string nullable

Workspace ID.

Changes