@makehq/sdk
    Preparing search index...

    Type Alias UpdateCustomRoleBody

    Body for updating a custom role.

    type UpdateCustomRoleBody = {
        description?: string | null;
        name?: string;
        organizationId: number;
        permissions?: number[];
    }
    Index

    Properties

    description?: string | null

    New description for the custom role. Pass null to clear it

    name?: string

    New name for the custom role

    organizationId: number

    ID of the organization the custom role belongs to

    permissions?: number[]

    Full list of permission IDs to assign to the role; replaces the existing permissions