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

Remove all SLAG ACLs for a path

Removes all SLAG ACLs for a specified path, simplifying the management of file directory security settings.

HTTP method and endpoint

DELETE /protocols/file-security/permissions/{svm.uuid}/{path}

Introduced in

ONTAP 9.10

Usage notes

Remove all SLAG ACLs for specified path. Bulk deletion is supported only for SLAG You must keep the following points in mind while using these endpoints:

  • Do not pass additional arguments that are not required.

  • vserver security file-directory remove-slag

Parameters

Name Type In Required Description

path

string

path

True

target path

access_control

string

query

False

Remove all SLAG ACLs. Currently bulk deletion of file-directory ACLs is not supported.

  • enum: ["slag"]

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

655865

The specified file or directory does not exist.

10485811

Access is a required field.

1260882

Specified SVM not found.

6691623

User is not authorized.

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.