A newer release of this product is available.
Delete a user from a UNIX group
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
DELETE /name-services/unix-groups/{svm.uuid}/{unix_group.name}/users/{name}
Introduced In: 9.9
Deletes a user from the specified UNIX group.
Related ONTAP commands
-
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 |
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. |