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


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

Create Data Policy ACL for a Group
Description
Create an ACL for a data policy, granting the specified group access to use the data policy.
Notes:
§
§
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/data_policy_acl?data_policy_id={string}&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 f98d5bc9-e4ab-4abc-94fd-87ea7619c5b6 to be able to use the data policy with the name “dp1”.
POST http[s]://blackpearl-hostname/_rest_/data_policy_acl?data_policy_id=dp1&group_id=f98d5bc9-e4ab-4abc-94fd-87ea7619c5b6 HTTP/1.1
Sample Response
HTTP/1.1 201 CREATED
<Data>
   <DataPolicyId>
      6ede1b61-6113-4904-acef-82e0c27efd58
   </DataPolicyId>
   <GroupId>f98d5bc9-e4ab-4abc-94fd-87ea7619c5b6</GroupId>
   <Id>d17f7f75-678f-4c06-9ba9-469ad424b0c1</Id>
   <UserId/>
</Data>