Go to main content
Oracle® ZFS Storage Appliance RESTful API Guide, Release OS8.7.0

Exit Print View

Updated: July 2017
 
 

Role Service Command Overview

The following list shows the role commands.

Table 44  Role Service Commands
Request
Path /role/v1
Description
GET
Lists the role service commands
GET
/roles/<role>
Gets the specified administrative role properties
GET
/roles
Lists all administrative role objects
PUT
/roles/<role>
Modifies the specified administrative role object
DELETE
/roles/<role>
Destroys the specified role object
POST
/roles
Creates a new role or clone an existing role
PUT
/roles/<role>/revoke
Removes the specified role from all users
POST
/roles/<role>/authorizations
Creates a new role authorization
GET
/roles/<role>/authorizations /<auth>
Gets the specified role authorization properties
GET
/roles/<role>/authorizations
Lists all role authorization objects
PUT
/roles/<role>/authorizations /<auth>
Modifies the specified role authorization object
DELETE
/roles/<role>/authorizations /<auth>
Destroys the specified auth object