Use this method to return the current access-control settings.
Authentication with user name and password is required.
GET https://{management_server_IP}/resourceAccessControl
None
None
Code | Description |
---|---|
200 | OK |
500 | Internal server error |
Attributes | Type | Description | ||
---|---|---|---|---|
result | String | Results of the request. This can be one of the
following values.
|
||
response | Object | |||
defaultRoleGroups | Array of strings | List of role groups that are authorized by default to view
and manage all devices when the devices are initially managed. After a device is managed by Lenovo XClarity Administrator, you can change the authorized role groups for that device. (see PUT /chassis/{uuid}, PUT /nodes/{uuid}, PUT /storage/{uuid}, and PUT /storage/{uuid}). |
||
publicAccess | Boolean | Indicates whether the resource can be accessed by all role
groups. This can be one of the following values.
|
||
resourceAccessControlEnabled | String | Indicates whether access control is enabled. This can be one
of the following values:
|
||
messages | Array | Information about one or more messages. | ||
explanation | String | Additional information to clarify the reason for the message. | ||
id | String | The message identifier of a returned message. | ||
recovery | Array | Recovery information | ||
text | String | User actions that can be taken to recover from the event. | ||
URL | String | Link to the help system for more information, if available. | ||
text | String | Message text associated with the message identifier. |
{
"result": "success",
"response": {
"defaultRoleGroups": ["lxc-hw-admin","lxc-os-admin"]
"publicAccess": false,
"resourceAccessControlEnabled": true,
},
"messages": [{
"id": "FQXHMSE0001I",
"text": "The request completed successfully.",
"recovery": {
"text": "Information only. No action is required.",
"URL": ""
},
"explanation": ""
}]
}