This interface defines the structure of a Workspace Role object.
export interface WorkspaceRole {
    id?: string;
    name?: string;
    description?: string;
    permissions?: string[];
    is_default?: boolean;
    created_at?: string;
}

Properties

  • id (string, optional): The unique identifier of the workspace role.
  • name (string, optional): The name of the workspace role.
  • description (string, optional): A description of the workspace role.
  • permissions (string[], optional): A list of permissions associated with the role.
  • is_default (boolean, optional): Indicates if this is a default role.
  • created_at (string, optional): The timestamp when the workspace role was created.