Delete an S3 rule configuration
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
DELETE /protocols/s3/services/{svm.uuid}/buckets/{s3_bucket.uuid}/rules/{name}
Introduced In: 9.13
Deletes the S3 bucket lifecycle rule configuration.
Related ONTAP commands
-
vserver object-store-server bucket lifecycle-management-rule delete
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
s3_bucket.uuid |
string |
path |
True |
The unique identifier of the bucket. |
name |
string |
path |
True |
The unique identifier of the bucket lifecycle_management rule. |
svm.uuid |
string |
path |
True |
UUID of the SVM to which this object belongs. |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error code | Message |
---|---|
92405861 |
"The specified SVM UUID or bucket UUID does not exist."; |
92406123 |
"Expiration is supported on object store volumes only, bucket on Vserver is not an object store volume."; |
92406139 |
"Lifecycle Management rule for bucket in Vserver with action is a stale entry. Contact technical support for assistance."; |
92406141 |
"Lifecycle Management rule for bucket in Vserver with action cannot have expired_object_delete_marker disabled. To disable expired_object_delete_marker, run vserver object-store-server bucket lifecycle-management-rule delete"; |
92406144 |
"Cannot delete fabriclink relationship between bucket A and bucket B. Reason : {2}."; |
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |