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
  • URL: http://localhost:8001/{workspace}/rbac/users/{RBACUserIdForNestedEntities}/roles
  • Auth: API key in header Kong-Admin-Token

Path parameters

workspacestring required
Example:team-payments

The name of the workspace

Request body

rolestring nullable

The RBAC role assigned to the user.

role_source'idp' | 'local' nullable

The origin of the RBAC user role.

user_idstring nullable

The RBAC user ID associated with the role.

Response

Successfully created RBAC User Role

rolestring nullable

The RBAC role assigned to the user.

role_source'idp' | 'local' nullable

The origin of the RBAC user role.

user_idstring nullable

The RBAC user ID associated with the role.

Changes