agency_write
Create or delete an agency account with upsert or deletion actions; branding, domain verification, and org/client management are handled separately.
Instructions
Create (upsert with a name) or delete the agency account. To brand it (logo, colour, fonts, language, login page, assets) use agency_branding instead — it validates fields. Domain claims, verification flags, secrets and provider keys cannot be changed here (domains are verified on the dashboard). For org/client CRUD use orgs_write / clients_write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| agency | No | Agency fields for upsert (passthrough object). |