Delete an S3 bucket lifecycle rule
- 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."; |
92406139 |
"Lifecycle Management rule for bucket in Vserver with action is a stale entry. Contact technical support for assistance."; |
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 |
returned_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. |