Retrieves the properties for a single role. To return the property metadata, set the props query parameter to true.
Example Request:
GET /api/role/v1/roles/basic?props=true HTTP/1.1 Authorization: Basic abcefgMWE= Host: zfs-storage.example.com:215 Accept: application/json
Example Response:
HTTP/1.1 200 OK X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 390 { "props": [{ "immutable": true, "label": "Role name", "name": "name", "type": "String" }, { "label": "A description of this role", "name": "description", "type": "String" }], "role": { "authorizations": [], "description": "Basic administration", "href": "/api/role/v1/roles/basic", "name": "basic" } }