Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
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
Parameters
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" https://172.17.11.11:8444/v8/storage/local-groups/303a3a3a532d312d352d33322d3535313a3a3a303a3a3a4f49445f24232140255f56/members -X POST -d '{"members":["EXAMPLE\\nigel", "Unix user\\1234"]}'
Response example
HTTP/1.1 204 No Content

 

  • Was this article helpful?