/
POST
/
RetentionConfiguration
object and names the object as default. When you have a RetentionConfiguration
object named default, calling the API modifies the default object. Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"RetentionPeriodInDays": 0
}'
Response Response Example
200 - Example 1
{
"RetentionConfiguration": {
"Name": "string",
"RetentionPeriodInDays": 0
}
}
Request
Header Params
X-Amz-Target
string
required
Body Params application/json
Responses
Modified at 2023-08-15 05:59:06