rbac

Create Assignment

Create a group assignment.

Assigns a role to a group. If workspace_id is None, creates an org-wide assignment that applies to all workspaces. Each group can have at most one assignment per workspace (or one org-wide assignment).

Requires: org:rbac:create scope

post/rbac/assignments

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    • API key in cookie fastapiusersauth
    • or HTTP bearer

Request body

group_idstring uuid required

Group ID to assign

role_idstring uuid required

Role ID to assign to the group

workspace_idstring uuid nullable

Workspace ID for workspace-level assignment. If None, creates org-wide assignment.

Response

Successful Response

idstring uuid required
organization_idstring uuid required
group_idstring uuid required
workspace_idstring uuid nullable
role_idstring uuid required
assigned_atstring date-time required
assigned_bystring uuid nullable
group_namestring required
role_namestring required
workspace_namestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.