Interface IRoleAssignmentsApi

API client for managing role assignments.

Hierarchy

  • IWaitForSync
    • IRoleAssignmentsApi

Implemented by

Methods

  • Unassigns a role from a user in the scope of a given tenant.

    Parameters

    Returns Promise<void>

    A promise that resolves when the role is successfully unassigned.

    Throws

    PermitApiError If the API returns an error HTTP status code.

    Throws

    PermitContextError If the configured ApiContext does not match the required endpoint context.

  • Wait for the facts to be synchronized with the PDP. Available only when proxyFactsViaPdp is set to true.

    Parameters

    • timeout: null | number

      The maximum number of seconds to wait for the synchronization to complete. Set to null to wait indefinitely.

    Returns IRoleAssignmentsApi

Generated using TypeDoc