Skip to main content

Delete a local user, or Active Directory user or group from a local group and SVM

Contributors

DELETE /protocols/cifs/local-groups/{svm.uuid}/{local_cifs_group.sid}/members/{name}

Introduced In: 9.10

Deletes the local user, Active Directory user and/or Active Directory group from the specified local group and SVM.

  • vserver cifs users-and-groups local-group remove-members

Parameters

Name Type In Required Description

local_cifs_group.sid

string

path

True

Local group SID

name

string

path

True

Member name

svm.uuid

string

path

True

UUID of the SVM to which this object belongs.

Response

Status: 200, Ok

Error

Status: Default, Error ontap error response codes | error code | description | | ---------- | ----------- | | 655673     | failed to resolve the member to be deleted from the specified group. | | 655719     | failed to delete a member from the specified group. the error code returned details the failure along with the reason for the failure. take corrective actions as per the specified reason. |
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.