Skip to main content
REST API reference
A newer release of this product is available.

Deletes the s3 bucket lifecycle rule configuration

learn more

  • [doc /protocols/s3/services/{svmuuid}/buckets/{s3_bucketuuid}/rules](#docs-object-store-protocols_s3_services_{svmuuid}_buckets_{s3_bucketuuid}_rules)

DELETE /protocols/s3/services/{svm.uuid}/buckets/{s3_bucket.uuid}/rules/{name}

Introduced In: 9.13

Deletes the S3 bucket lifecycle rule configuration.

  • 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

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.

Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response