Actions138
- Account Actions
- Contact Actions
- List Actions
- Campaign Actions
- Webhook Actions
- Segment Actions
- Report Actions
- Email Actions
- Custom Attribute Actions
- Sender Actions
- Template Actions
- Sub-Account Actions
- Log Actions
- User Actions
- Domain Actions
- DKIM Actions
- Form Actions
- Token Actions
- Interest Actions
- Tags Actions
- Suppressed Email Actions
- Links Actions
Sub-Account → Update
AI-generatedSummary
Update a sub-account's details in Cakemail.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- subAccountId (required) — ID of the sub-account.
- updateFields (required) — Fields to update in the sub-account, such as company name, email, first name, last name, phone, address, city, province/state, postal code, country, language, and timezone.
Output shape
no body — success/failure only
The operation returns a success message or an error if the update fails.
Examples
Example 1: Updating a sub-account's email and company name.
Set 'subAccountId' to the ID of the sub-account to update, and in 'updateFields', provide 'companyName' and 'email'.