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

Delete a user from a UNIX group

Contributors

DELETE /name-services/unix-groups/{svm.uuid}/{unix_group.name}/users/{name}

Introduced In: 9.9

Deletes a user from the specified UNIX group.

  • vserver services name-service unix-group deluser

Parameters

Name Type In Required Description

unix_group.name

string

path

True

UNIX group name.

name

string

path

True

UNIX user to be deleted from the group.

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

3276897

The specified UNIX group does not exist in the SVM.

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.