Skip to main content

Delete an S3 policy configuration

Contributors

DELETE /protocols/s3/services/{svm.uuid}/policies/{name}

Introduced In: 9.8

Deletes the S3 policy configuration of an SVM.

  • vserver object-store-server policy delete

  • vserver object-store-server policy delete-statement

Parameters

Name Type In Required Description

name

string

path

True

Policy name

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 Description

92405858

Failed to "delete" the "policy" because the operation is only supported on data SVMs.

Name Type Description

error

returned_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.