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://$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.
| |||||||
Example
application/json
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}