Skip to main content
Hitachi Vantara Knowledge

Add local group members

Add members to a local security group. The group can be either pre-existing, or one that has been returned via the “Search for a group” API call.

The API call will fail if a valid security ID cannot be obtained for any of the new group members.

HTTP request syntax (URI)
POST <base_URI>/v8/storage/local-groups/{localGroupObjectId}/members
Name Type Required Values Description
localGroupObjectIdURI_PARAMY stringObject ID of the local group
Return codes
Code Data Description
204 No Data Local group members added successfully.
400 Error Message Missing or invalid request contents.
403Error MessageOperation forbidden by access level.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 204 indicates that the API did not complete successfully.

Request example:
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" -X POST -d '{"members":["EXAMPLE\\nigel", "Unix user\\1234"]}'
Response example
HTTP/1.1 204 No Content


  • Was this article helpful?