Skip to main content

Delete the local user configuration for an SVM

Contributors

DELETE /protocols/cifs/local-users/{svm.uuid}/{sid}

Introduced In: 9.10

Deletes a local user configuration for the specified SVM.

  • vserver cifs users-and-groups local-user delete

Parameters

Name Type In Required Description

sid

string

path

True

Local user SID

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

655735

The local Administrator account cannot be deleted.

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.