Skip to main content

Get a List of Account Memberships of Account Member

GET 

/v2/account-members/:accountMemberId/account-memberships

You can also use include=account to retrieve details about the accounts associated with the account memberships. For more information see including resources.

You can use pagination with this resource. For more information, see pagination.

Filtering

The following operators and attributes are available for filtering account memberships.

OperatorDescription
eqChecks whether the values of two operands are equal. If the values are equal, the condition is true.
likeChecks if the operand contains the specified string. You can use wildcard characters in operand.
AttributeTypeOperatorExample
account_member_idstringeq / likeeq(account_member_id,00000000-0000-1000-8000-0000000)

Request

Path Parameters

    accountMemberId stringrequired

    The ID of the account member for which you want to list the memberships.

Query Parameters

    filter string

    Specifies the filter attributes.

    include string

    Parameter to retrieve more information about any related resources like accounts.

Responses

OK

Schema
    data AccountMembershipResponseUsingAccountMemberId[]
  • Array [
  • id string

    Represents the unique identifier for the account membership.

    type string

    Default value: account_membership

    Represents the type of the object returned.

    meta object
    timestamps object
    created_at string

    The date the account is created.

    updated_at string

    The date the account is updated.

    relationships object
    account object
    data object
    id string

    Specifies the ID of the account.

    type string

    Default value: account

    Specifies the type of the Account.

    links object
    self uri

    A URL to the specific resource.

  • ]
  • meta object
    page object
    limit integer

    The maximum number of records per page for this response. You can set this value up to 100.

    current integer

    The current page.

    offset integer

    The current offset by number of records, not pages. Offset is zero-based.

    total integer

    The total page count.

    results object
    total integer

    The total number of results after applying filters, if any, or all results.

    links object
    current uri

    Always the current page.

    first uri

    Always the first page.

    last uri

    Always null if there is only one page.

    next string

    Always null if there is only one page.

    prev string

    Always null if the user is on the first page.

Loading...