Class AccountsApi


  • public class AccountsApi
    extends Object
    AccountsApi class.
    • Constructor Detail

      • AccountsApi

        public AccountsApi()
        AccountsApi.
      • AccountsApi

        public AccountsApi​(ApiClient apiClient)
        AccountsApi.
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
        getApiClient Method.
        Returns:
        ApiClient
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
        setApiClient Method.
      • getGroups

        public MemberGroupsResponse getGroups​(UUID organizationId,
                                              UUID accountId)
                                       throws ApiException
        Returns the list of groups in an account.. Required scopes: group_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        Returns:
        MemberGroupsResponse
        Throws:
        ApiException
      • getGroups

        public MemberGroupsResponse getGroups​(UUID organizationId,
                                              UUID accountId,
                                              AccountsApi.GetGroupsOptions options)
                                       throws ApiException
        Returns the list of groups in an account.. Required scopes: group_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        options - for modifying the method behavior.
        Returns:
        MemberGroupsResponse
        Throws:
        ApiException - if fails to make API call
      • getGroupsWithHttpInfo

        public ApiResponse<MemberGroupsResponse> getGroupsWithHttpInfo​(UUID organizationId,
                                                                       UUID accountId,
                                                                       AccountsApi.GetGroupsOptions options)
                                                                throws ApiException
        Returns the list of groups in an account. Required scopes: group_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        options - for modifying the method behavior.
        Returns:
        MemberGroupsResponse
        Throws:
        ApiException - if fails to make API call
      • getOrganizations

        public OrganizationsResponse getOrganizations()
                                               throws ApiException
        Returns the list of organizations of which the authenticated user is a member.. Required scopes: organization_read
        Returns:
        OrganizationsResponse
        Throws:
        ApiException
      • getPermissions

        public PermissionsResponse getPermissions​(UUID organizationId,
                                                  UUID accountId)
                                           throws ApiException
        Returns the list of permission profiles in an account.. Required scopes: permission_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        Returns:
        PermissionsResponse
        Throws:
        ApiException - if fails to make API call
      • getPermissionsWithHttpInfo

        public ApiResponse<PermissionsResponse> getPermissionsWithHttpInfo​(UUID organizationId,
                                                                           UUID accountId)
                                                                    throws ApiException
        Returns the list of permission profiles in an account. Required scopes: permission_read
        Parameters:
        organizationId - The organization ID Guid (required)
        accountId - The account ID Guid (required)
        Returns:
        PermissionsResponse
        Throws:
        ApiException - if fails to make API call
      • redactIndividualMembershipData

        public IndividualUserDataRedactionResponse redactIndividualMembershipData​(UUID accountId,
                                                                                  IndividualMembershipDataRedactionRequest requestModel)
                                                                           throws ApiException
        Redacts membership data for users with memberships in an account.. Required scopes: user_data_redact
        Parameters:
        accountId - The account ID Guid (required)
        requestModel - The request body describing the membership to be redacted (required)
        Returns:
        IndividualUserDataRedactionResponse
        Throws:
        ApiException - if fails to make API call
      • redactIndividualMembershipDataWithHttpInfo

        public ApiResponse<IndividualUserDataRedactionResponse> redactIndividualMembershipDataWithHttpInfo​(UUID accountId,
                                                                                                           IndividualMembershipDataRedactionRequest requestModel)
                                                                                                    throws ApiException
        Redacts membership data for users with memberships in an account. Required scopes: user_data_redact
        Parameters:
        accountId - The account ID Guid (required)
        requestModel - The request body describing the membership to be redacted (required)
        Returns:
        IndividualUserDataRedactionResponse
        Throws:
        ApiException - if fails to make API call