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

Exit Print View

Updated: July 2017
 
 

User Service Commands

The following user service commands are available.

Table 114  User Service Commands
Request
Path /api/user/v1
Description
GET
List the user service commands
GET
/users
List summary information for all users
GET
/users/<user>
Get detail information about a specific user
DELETE
/users/<user>
Remove a local user from the system
POST
/users
Create a new local user, clone an existing user as new user, or add an administrator from a network directory
PUT
/users/<user>
Modify user properties
PUT
/users/<user>/preferences
Modify user preferences
GET
/users/<user>/preferences
Get user’s preferences
POST
/users/<user>/exceptions
Create new user authorization exceptions
GET
/users/<user>/exceptions/<auth>
Get the specified user authorization exceptions properties
GET
/users/<user>/exceptions
List all user authorization exceptions objects
PUT
/users/<user>/exceptions/<auth>
Modify the specified user authorization exceptions object
DELETE
/users/<user>/exceptions/<auth>
Destroy the specified auth object
POST
/users/<user>/preferences/keys
Create a new user ssh keys
GET
/users/<user>/preferences/keys /<key>
Get the specified user ssh keys properties
GET
/users/<user>/preferences/keys
List all user ssh keys objects
PUT
/users/<user>/preferences/keys /<key>
Modify the specified ssh key for the given user
DELETE
/users/<user>/preferences/keys /<key>
Destroy the specified key object