List all handle privileges
GET /handles/privileges
Returns list of all possible handle privileges.
This endpoint does not require authentication.
Example cURL requests
Get list of all handle privileges
curl https://$ZONE_HOST/api/v3/onezone/handles/privileges
{
"admin": [
"handle_view",
"handle_update",
"handle_delete"
],
"member": [
"handle_view"
]
}
Request Examples
Shell
onezone-rest-cli listHandlePrivilegesResponses
application/json
200
List of all handle privileges
Property
Type & Description
admin
array of strings
A list of privileges in the handle.
member
array of strings
A subset of handle privileges suggested for handle managers.
500
Internal server Error.
Property
Type & Description
error object Object describing an error.
error
object
Object describing an error.
id required
string
String identifying the error type. Does not change between error instances.
description required
string
Human readable error description. May contain information specific to given error instance.
details
object
Details about the error instance. The object schema is specific to each error type.
Example
application/json
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}