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: § Only administrators are allowed to create a data policy ACL. § Users that do not have data policy ACL access to any data policies cannot create a bucket. § By default, the gateway creates a global data policy ACL for the “everyone” group, granting every user access to use every data policy. Requests Syntax POST http[s]://{datapathDNSname}/_rest_/data_policy_acl/?data_policy_id={string}&user_id={string} Request Parameters Parameter Description Required data_policy_id The UUID, name, or other unique attribute for the data policy. yes user_id The UUID, username, or other unique attribute for the user to whom you want to grant access to use the data policy. yes 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: Parameter Description Data The container for the response. DataPolicyId The UUID for the data policy. GroupId Always null for this operation. Id The UUID for the ACL. UserId The UUID for the user granted access. 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 OK<Data> <DataPolicyId> 6ede1b61-6113-4904-acef-82e0c27efd58 </DataPolicyId> <GroupId/> <Id>5e5812aa-74f0-4e82-879e-d0adcbacdee5</Id> <UserId>c3407618-ff6c-4f5f-8aab-1b17d6881612</UserId></Data>