New in this release
Test Policy Edit
POST /object/bucket/test-policy-edit
Validates a DM policy edit request.
Query Parameters
bucketName | Bucket name for which DM policy should be validated. |
account | Namespace for which DM policy should be validated. |
Required Roles
Requires one of the following roles:
SYSTEM_ADMIN
NAMESPACE_ADMIN
Request Payload
<bucket_copy_policy>
<paused></paused>
<days_after_last_write></days_after_last_write>
<minimum_size></minimum_size>
<tag_filter></tag_filter>
<backup_read_target></backup_read_target>
<sse_s3_enabled></sse_s3_enabled>
<detailed_log_enabled></detailed_log_enabled>
<detailed_log_errors_only></detailed_log_errors_only>
<detailed_log_bucket></detailed_log_bucket>
<detailed_log_prefix></detailed_log_prefix>
<external_certs></external_certs>
<target_access_key></target_access_key>
<target_secret_key></target_secret_key>
</bucket_copy_policy>
{
"paused": "",
"days_after_last_write": "",
"minimum_size": "",
"tag_filter": "",
"backup_read_target": "",
"sse_s3_enabled": "",
"detailed_log_enabled": "",
"detailed_log_errors_only": "",
"detailed_log_bucket": "",
"detailed_log_prefix": "",
"external_certs": "",
"target_access_key": "",
"target_secret_key": ""
}
All parameters are required unless otherwise stated.
Field |
Description |
Type |
Notes |
bucket_copy_policy |
|
|
|
paused |
|
Boolean |
|
days_after_last_write |
|
Long |
|
minimum_size |
|
Long |
|
tag_filter |
|
String |
|
backup_read_target |
|
Boolean |
|
sse_s3_enabled |
|
Boolean |
|
detailed_log_enabled |
|
Boolean |
|
detailed_log_errors_only |
|
Boolean |
|
detailed_log_bucket |
|
String |
|
detailed_log_prefix |
|
String |
|
external_certs |
|
String |
|
target_access_key |
|
String |
|
target_secret_key |
|
String |
|
Response Body
Indicating success or failure of the bucket validation request