User Service Commands

The following user service commands are available.

Table 16-1 User Service Commands

Request Append to Path /api/user/v{1|2} Description

GET

Use only /api/user/v{1|2}

List the user service commands

GET

/users

List all Oracle ZFS Storage Appliance users

GET

/users/user

List the properties of the specified user

POST

/users

Create a new Oracle ZFS Storage Appliance user

PUT

/users/user

Modify the properties of the specified user

DELETE

/users/user

Remove the specified user from Oracle ZFS Storage Appliance

GET

/users/user/preferences

List preference properties for the specified user

PUT

/users/user/preferences

Modify preference properties for the specified user

GET

/users/user/exceptions

List all authorization exceptions for the specified user

GET

/users/user/exceptions/auth

List the auth authorizations for the specified user

POST

/users/user/exceptions

Create new authorization exceptions for the specified user

PUT

/users/user/exceptions/auth

Modify the specified authorizations for the specified user

DELETE

/users/user/exceptions/auth

Destroy the specified authorizations for the specified user

GET

/users/user/preferences/keys

List all SSH keys for the specified user

GET

/users/user/preferences/keys/key

List the properties of the specified SSH key for the specified user

POST

/users/user/preferences/keys

Create a new SSH key for the specified user

PUT

/users/user/preferences/keys/key

Modify the specified SSH key for the specified user

DELETE

/users/user/preferences/keys/key

Destroy the specified SSH key for the specified user

GET

/users/user/preferences/tokens

List all REST login tokens for the specified user

GET

/users/user/preferences/tokens?token=token

List a REST login token by its token value

GET

/users/user/preferences/tokens/token-id

List a REST login token by its token ID

POST

/users/user/preferences/tokens

Create a REST login token for the specified user

DELETE

/users/user/preferences/tokens?token=token

Remove a REST login token by its token value

DELETE

/users/user/preferences/tokens/token-id

Remove a REST login token by its token ID