List all handle service privileges
GET /handle_services/privileges
Returns list of all possible handle service privileges.
This endpoint does not require authentication.
Example cURL requests
Get list of all handle service privileges
curl https://$HOST/api/v3/onezone/handle_services/privileges
{
"admin": [
"handle_service_view",
"handle_service_update",
"handle_service_delete",
"handle_service_register_handle",
"handle_service_list_handles"
],
"member": [
"handle_service_view",
"handle_service_register_handle"
]
}
Request Examples
Shell
onezone-rest-cli listHandleServicePrivilegesResponses
application/json
200
List of all handle service privileges
| Property | Type & Description |
|---|---|
admin array of strings A list of privileges in the handle service. | |
member array of strings A subset of handle service privileges suggested for handle service 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."
}
}