API v2: Object Rights πΒΆ
Data StructuresΒΆ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
Read-only. |
|
string |
yes |
Read-only. |
Retrieve Available Attributes of the ObjectRightsModelsΒΆ
Request
Method |
|
Path |
|
Variants |
|
To check allowed methods, available URL parameters and possible responses please refer to the API Overview section.
Get Available Rights Values for Object TypesΒΆ
Request
Method |
|
Path |
|
Variants |
|
Example Request
GET /api/v2/capability/right/account
curl -s -k -X GET \
-H 'Authorization:sgfeea6jsaz4mum9su8w6' \
'https://10.31.87.227/api/v2/capability/right/account'
Response
{
"result": "success",
"account_right": [
{
"name": "read",
"description": ""
},
{
"name": "modify",
"description": ""
},
{
"name": "delete",
"description": ""
},
{
"name": "block",
"description": ""
}
]
}
The table below lists the available rights values for each object type.
Object type |
Available |
|---|---|
account |
|
group |
|
pool |
|
safe |
|
server |
|
user |
|