Skip to main content

Update an Account Membership

PUT 

/v2/accounts/:accountID/account-memberships/:membershipID

You can update and extend an account member details using core flows. However, you cannot update the account_member_id of an account member.

Request

Path Parameters

    accountID stringrequired

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

    membershipID stringrequired

    The unique identifier of the account membership to update the details of the account member.

Body

    data AccountMembership
    account_member_id stringrequired

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

    type stringrequired

    Default value: account_membership

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

Responses

OK

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...