RBACUserRoles

Create a new RBAC User Role

Changed on

Create a new RBAC User Role

post/{workspace}/rbac/users/{RBACUserIdForNestedEntities}/roles

Request

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

Path parameters

RBACUserIdForNestedEntities, string required

ID of the RBAC User to lookup

workspace, string required
Example:team-payments

The name of the workspace

Request body

RBACUserRole required
role, string nullable

The RBAC role assigned to the user.

role_source, 'idp' | 'local' nullable

The origin of the RBAC user role.

user, object nullable

The RBAC user associated with the role.

user_id, string nullable

The RBAC user ID associated with the role.

Response

Successfully created RBAC User Role

RBACUserRole required
role, string nullable

The RBAC role assigned to the user.

role_source, 'idp' | 'local' nullable

The origin of the RBAC user role.

user, object nullable

The RBAC user associated with the role.

user_id, string nullable

The RBAC user ID associated with the role.

Changes