@makehq/sdk
    Preparing search index...

    Type Alias CreateCustomRoleBody

    Body for creating a custom role.

    type CreateCustomRoleBody = {
        category: "organization" | "team";
        description?: string | null;
        name: string;
        organizationId: number;
        permissions?: number[];
    }
    Index

    Properties

    category: "organization" | "team"

    Whether the role applies to an organization or a team

    description?: string | null

    Description of the custom role

    name: string

    Name of the custom role

    organizationId: number

    ID of the organization to create the custom role in

    permissions?: number[]

    IDs of the permissions to assign to the custom role