@makehq/sdk
    Preparing search index...

    Class CustomRoles

    Class providing methods for working with Make custom roles. Requires the organization's customRoles license feature to be enabled.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Delete a custom role. The role must not be currently assigned to any users.

      Parameters

      • roleId: number

        The custom role ID to delete

      • body: DeleteCustomRoleBody

        The organization ID the custom role belongs to

      Returns Promise<number>

      Promise with the ID of the deleted custom role