
Add or remove individual ACL entry(s)
id | the URN of a ViPR Project |
Requires one of the following roles:
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
<acl_assignment_changes> | |||
<add> |
0-* Elements |
||
<privilege> | String |
0-* Elements |
|
<subject_id> | String | ||
<group> | String | ||
<tenant> | String | ||
</add> | |||
<remove> |
0-* Elements |
||
<privilege> | String |
0-* Elements |
|
<subject_id> | String | ||
<group> | String | ||
<tenant> | String | ||
</remove> | |||
</acl_assignment_changes> |
No data returned in response body
Field | Description | Type | Notes |
<acl_assignments> | |||
<acl_assignment> |
0-* Elements |
||
<privilege> | String |
0-* Elements |
|
<subject_id> | String | ||
<group> | String | ||
<tenant> | String | ||
</acl_assignment> | |||
</acl_assignments> |
PUT: https://192.168.0.0:4443/projects/urn:storageos:Project:3b279e34-2585-4332-ac1f-c5170a761737:/acl.json HTTP/1.1 Content-Type: application/json X-SDS-AUTH-TOKEN: <AUTH_TOKEN> { "add": [ { "privilege": [ "USE" ], "tenant": "urn:storageos:TenantOrg:75b2b17f-7560-4759-9d46-4081907a27a3:" } ] }
HTTP/1.1 200 OK Content-Type: application/json { "acl": [ { "privilege": [ "USE" ], "tenant": "urn:storageos:TenantOrg:75b2b17f-7560-4759-9d46-4081907a27a3:" } ] }