Skip to main content

Create an Account Membership

POST 

/v2/accounts/:accountID/account-memberships

caution

You can only create up to 1000 account memberships in an account.

Request​

Path Parameters

    accountID stringrequired

    The unique identifier of the account that the account is associated with.

Body

    data AccountMembership
    account_member_id string

    Specifies the unique identifier of the account member that the membership is associated with.

    type string

    Default value: account_membership

    Specifies the type of the object. Set this value to account_membership.

Responses​

Created

Schema
    data AccountMembershipResponse
    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_member object
    data object
    id string

    Specifies the ID of the account member.

    type string

    Default value: account_member

    Specifies the type of the account member.

    links object
    self uri

    A URL to the specific resource.

Loading...