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


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

Create Data Policy ACL for a User
Description
Create an ACL for a data policy, granting the specified user access to use the data policy.
Notes:
§
§
§
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/data_policy_acl?data_policy_id={string}&user_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 user with the username user1 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&user_id=user1 HTTP/1.1
Sample Response
HTTP/1.1 201 CREATED
<Data>
   <DataPolicyId>
      6ede1b61-6113-4904-acef-82e0c27efd58
   </DataPolicyId>
   <GroupId/>
   <Id>5e5812aa-74f0-4e82-879e-d0adcbacdee5</Id>
   <UserId>c3407618-ff6c-4f5f-8aab-1b17d6881612</UserId>
</Data>