EMC ViPR REST API

Search (SHIFT+S)

API Reference


Get Role Assignments

GET /projects/{id}/acl

Get project ACL

idthe URN of a ViPR Project

Required Roles

Requires one of the following roles:

  • SECURITY_ADMIN
  • TENANT_ADMIN

Response Body

ACL Assignment details

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>

Examples

Request
GET https://192.168.0.0:4443/projects/urn:storageos:Project:68c853bc-7534-45e9-b718-195afbb6f7d8:/acl HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <acl_assignments>
       <acl_assignment>
       <privilege>ALL</privilege>
       <subject_id>bbrown@corp.example.com</subject_id>
  </acl_assignment>
</acl_assignments>