accounts.upsert
Create or update a project profile in the accounts registry file. Manage account IDs, display names, Direct Client-Login, and default Metrica counter IDs.
Instructions
Create or update a project profile in the accounts registry file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name. | |
| replace | No | When true, replace the whole profile; when false, patch existing fields. | |
| account_id | Yes | Profile id (stable, human-friendly). | |
| direct_client_login | No | Direct Client-Login for this project (agency child account login). | |
| metrica_counter_ids | No | Optional default Metrica counter ids for this project. |