CreateConfigurationSet method
Creates a configuration in a folder. The folder is selected based on the service account the request originates from.
Request
POST /v2/email/configuration-sets HTTP/2
Request headers
Use common request headers in your requests.
Request body
{
"ConfigurationSetName": "<configuration_name>",
"Tags": [
{
"Key": "<label_key>",
"Value": "<label_value>"
}
]
}
Parameter |
Description |
|
Type: String. Configuration name. |
|
Type: Array. Array of labels for the configuration. The maximum number of labels is 50. |
|
Type: String. Label key. The keyword may be from 1 to 63 characters long. |
|
Type: String. Label value. The label value may be from 0 (no value) to 256 characters long. |
Responses
200 OK
A successful request returns 200 OK
in the response.
Errors
For all errors, the response body has the same format:
{
"Code": "<error_name>",
"message": "<error_description>"
}
The name of the error is taken from its code, e.g., BadRequestException
.
Possible errors:
Error code |
Description |
|
The request contains invalid headers or parameters. |
|
The requested resource was not found. |
|
A configuration with this name already exists. Specify a different name. |
|
There are conflicting operations. Wait for the previous operation to complete and repeat your request. |
|
The request exceeded the quota. |
|
The request exceeded the limit. |