Update a Connected Account

Update the properties of a specified connected account.

Updates any of the following properties of a specified connected account:

  • automatically_manage_new_devices

  • custom_metadata

Request

Specify the desired connected account by including the corresponding connected_account_id in the request body. In addition, in the request body, include the properties that you want to update, along with the desired replacement values.

Request Body Parameters

Sample Request

connected_account_update = seam.connected_accounts.update(
    connected_account_id = "6e1cad57-b244-40ca-b4f3-30a46c8000d4",
    automatically_manage_new_devices = True,
    custom_metadata = {
        "internal_account_id": "user-1"
    }
)

pprint(connected_account_update)

Response

Returns a Boolean ok status indicator.

Sample Response

{
  "ok": true
}

Last updated

Logo

© Seam Labs, Inc. All rights reserved.