All Products
Search
Document Center

Direct Mail:ConfigSetUpdate

Last Updated:Aug 31, 2026

Updates a configuration set.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dm:ConfigSetUpdate

update

*All Resource

*

None None

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

Id

string

No

The configuration set ID. This parameter is required.

XXX

Name

string

No

The configuration name. This parameter is required. The name can be up to 50 characters in length and must be unique.

XXX

IpPoolId

string

No

The ID of the associated IP pool. This parameter is optional.

XXX

Description

string

No

The description. The description can be up to 50 characters in length.

XXX

IsPublicChannelBackoff

boolean

No

Specifies whether to fall back to the public channel for sending when the associated dedicated IP pool encounters issues.

  • true: The system removes dedicated IPs that are currently throttled or blacklisted by the target mailbox provider during each delivery attempt, and preferentially uses the remaining available IPs in the pool. When all IPs in the pool are throttled or blacklisted by the mailbox provider, the system automatically switches to the public channel to ensure delivery success rates. After the throttling or blacklisting is lifted, the system automatically resumes using dedicated IPs.

  • false: Only the associated dedicated IP pool is used for sending. When IPs in the pool are throttled or blacklisted, the system continues to use these IPs for delivery, which may cause delivery failures or delays. However, this ensures that the sending IPs are always your dedicated IPs.

true

ValidationOption

object

No

The address validation options.

Enabled

boolean

No

Specifies whether the address validation feature is enabled.

  • true: Enabled. This is the BASIC_ONLY mode of the ValidateEmail operation.

  • false: Disabled.

true

ForbiddenStatusList

array

No

The list of recipient address validation primary statuses to block. Before sending, the system pre-validates the recipient address. Emails whose validation primary status matches an entry in this list are rejected.

string

No

The recipient address validation primary status to block. Valid values:

  • INVALID: The address is invalid or does not exist.

  • CATCH_ALL: The address is a catch-all address. Any mailbox under the domain can receive emails, and the actual existence of the address cannot be confirmed.

  • DO_NOT_MAIL: The address can receive emails but is not recommended for sending, such as role accounts or disposable mailboxes.

  • UNKNOWN: The validation result cannot be provided.

INVALID

ForbiddenSubStatusList

array

No

The list of recipient address validation sub-statuses to block. This provides finer-grained blocking control than the primary statuses. It takes effect as a union with ForbiddenStatusList, meaning that a match in either list triggers blocking.

string

No

The address validation sub-status to block. Valid values:

  • NO_DNS_ENTRIES: Invalid address. No DNS records exist.

  • MISSPELLED: Invalid address. The address is misspelled.

  • DOES_NOT_ACCEPT_MAIL: Invalid address. The mail server does not accept emails.

  • MAILBOX_NOT_EXISTS: Invalid address. The mailbox does not exist.

  • SYSTEM_ERROR: Unknown status. A system fault occurred.

  • MX_FORWARD: Abnormal address. MX forwarding is configured.

  • SYNTAX_INVALID: Invalid address. A syntax error exists.

  • ROLE_ACCOUNT: Abnormal address. The address is a role account, such as role@, info@, or contact@.

  • SMTP_CONNECT_FAILED: Unknown status. Failed to connect to the remote SMTP server.

  • DISABLED: Invalid address. The mailbox is disabled.

  • UNSPECIFIED: Unspecified. This may be returned for valid, catch-all, or unknown statuses.

  • IP_UNROUTABLE: Invalid address. The mail server IP address is unreachable.

  • GRAY_LIST: Unknown status. The address is on a greylist.

  • MAILBOX_FULL: Invalid address. The mailbox is full.

  • DISPOSABLE: Abnormal address. The address is a disposable mailbox on a blacklist.

  • TIMEOUT_EXCEEDED: Unknown status. The specified timeout period is exceeded.

If an unknown value is passed, an InvalidParameter error is returned.

DISPOSABLE

Response elements

Element

Type

Description

Example

object

The response.

RequestId

string

The request ID.

xxx

Id

string

The configuration set ID.

xxx

Examples

Success response

JSON format

{
  "RequestId": "xxx",
  "Id": "xxx"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.