# Update Account Settings

Updates only named account settings and returns the current state. Inaccessible settings, unknown preview tags or malformed blacklists refuse the whole call before writing; credentials cannot be changed here. The result’s refusals lists settings the platform rejected during save, while other changes may have been stored.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "settings": {
      "type": "object",
      "description": "The settings to change, by name; every setting left out keeps its value",
      "properties": {
        "enableMetaLabels": {
          "type": "boolean"
        },
        "enableNotes": {
          "type": "boolean"
        },
        "enableDdEditorManualSaveButton": {
          "type": "boolean"
        },
        "disableEmailSignatureSeparator": {
          "type": "boolean"
        },
        "deactivateUserNotificationEmails": {
          "type": "boolean"
        },
        "plainTextContentByUser": {
          "type": "boolean"
        },
        "useEnglishSubscriberArea": {
          "type": "boolean"
        },
        "deactivateGlobalBounceManagement": {
          "type": "boolean"
        },
        "unlimitedEmailsPerDay": {
          "type": "boolean"
        },
        "allowSingleOptInProcess": {
          "type": "boolean"
        },
        "allowSignaturesWithoutParameters": {
          "type": "boolean"
        },
        "allowKlicktippSenderAddress": {
          "type": "boolean"
        },
        "allowEmailRewriting": {
          "type": "boolean"
        },
        "knownForSpamActivity": {
          "type": "boolean"
        },
        "previewSubscriberMarkerTag": {
          "type": "string",
          "maxLength": 100,
          "pattern": "^[0-9]*$",
          "description": "ID of an existing tag of this account that marks preview subscribers; empty string removes it"
        },
        "emailBlacklist": {
          "type": "string",
          "maxLength": 100000,
          "description": "Addresses and domains this account never sends to, one per line; empty string clears it"
        }
      },
      "additionalProperties": false
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "settings"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "settings",
    "credentials",
    "editUrl"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "settings": {
      "type": "object",
      "description": "The settings this account may edit; one this account may not edit is absent",
      "additionalProperties": {
        "type": [
          "boolean",
          "string",
          "null"
        ]
      }
    },
    "credentials": {
      "type": "object",
      "description": "Per service, whether credentials are stored -- never the credentials themselves",
      "additionalProperties": {
        "type": "boolean"
      }
    },
    "editUrl": {
      "type": "string"
    },
    "refusals": {
      "type": "object",
      "description": "Rejected preferences from an attempted update; other changes may already be applied in settings",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}
```

