Actions35
- Accounts Actions
- Domains Actions
- AccountDomains Actions
- AggregateReports Actions
- ForensicReports Actions
- MTASTSReports Actions
- PostmasterAccountRecords Actions
- AccountMembers Actions
Accounts → Update account
AI-generatedSummary
Update an existing DMARC report account by specifying the account's numeric ID or slug and providing the updated account details as JSON.
Inputs
- id (required) — The numeric ID or slug identifying the account to update.
- account (required) — A JSON object containing the updated account fields to apply.
- options — Optional settings including custom request body JSON (which deep-merges with 'account' data and takes priority), custom HTTP headers, query-string filters, batching parameters, debug output toggling, pagination configuration (mostly for list operations but present), and request timeout in milliseconds.
Output shape
a single JSON object representing the updated account data returned from the API.
Under debug mode, the output includes the actual URL, headers, query parameters, and request body sent for each API request. Batching and pagination options exist but typically affect request execution rather than output shape. The request body sent merges 'account' and 'customBody' (customBody wins on conflicts). Errors from the API will be surfaced as failures.
Examples
Example 1: Update an existing account by ID with new name and email fields.
Set 'id' to the target account's ID. Provide 'account' JSON with updated name and email properties. Leave 'options' empty or use 'customBody' to override fields.