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

Parameter
Type
Description

connected_account_id

String Required

ID of the desired connected account

automatically_manage_new_devices

Boolean Optional

custom_metadata

JSON object Optional

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.