Spectra Logic
1-800-833-1132 : 1-303-449-6400


Access Control Operations : Access Control List Operations : Create Global Data Policy ACL for a Group

Create Global Data Policy ACL for a Group
Create an ACL for all data policies, including those already created and those that will be created, granting the specified group access to use any data policy.
Note:
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/data_policy_acl?group_id={string}
Request Parameters 
Responses
Response Elements
<Data>
   <DataPolicyId>{
string}</DataPolicyId>
   <GroupId>{string}</GroupId>
   <Id>{string}</Id>
   <UserId>{string}</UserId>
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request creates an ACL for the group with the UUID 29090054-ecfb-4d64-8e68-87194b8a1c35 to be able to use any data policy.
POST http[s]://blackpearl-hostname/_rest_/data_policy_acl?group_id=29090054-ecfb-4d64-8e68-87194b8a1c35 HTTP/1.1
Sample Response
HTTP/1.1 201 CREATED
<Data>
   <DataPolicyId/>
   <GroupId>29090054-ecfb-4d64-8e68-87194b8a1c35</GroupId>
   <Id>dbb1643e-081e-4f32-b26f-ba5dd80d77c4</Id>
   </UserId>
</Data>