Update a Connected Account

Updates a connected account.

Updates a connected account.

Code

await seam.connectedAccounts.update({
  connected_account_id: "a289aa54-5488-4707-9a4b-eeea4edf311d",
  automatically_manage_new_devices: true,
  custom_metadata: { id: "internalId1" },
});

Output

// void
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

connected_account_id String (Required)

ID of the connected account that you want to update.


automatically_manage_new_devices Boolean

Indicates whether newly-added devices should appear as managed devices.


custom_metadata Object

Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. Adding custom metadata to a connected account enables you to store custom information, like customer details or internal IDs from your application. Then, you can filter connected accounts by the desired metadata.


Response

void

Last updated

Was this helpful?