PATCH /api/v1/connector/managers/{id}
Use this method to modify authentication and connection settings for a resource manager.
Attention
This REST API will be deprecated in a future release.
Note
This REST API requires Lenovo XClarity Orchestrator v1.2 or later.
Authentication
Authentication with username and password is required.
Resource URI
PATCH https://{orchestrator_server_IP}/api/v1/connector/managers/{id}
where {id} is the ID of the resource manager. To obtain the resource manager IDs, use GET /api/v1/connector/managers.
Query parameters
None
Request body
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
op | Required | String | Action to take. This can be the following value.
| ||
path | Required | String | Name of the attribute to be modified. This can be one of the following values.
| ||
value | Required | String | Attribute value, depending on the data type |
The following example modifies the authentication and connection settings for an XClarity Administrator resource manager.
[
{ "op": "replace", "path": "authentication", "value": { "username": "USERID",
"password": "CME44len",
"type": "basic"}
},
{ "op": "replace", "path": "connection", "value": { "hostname": "10.241.54.113",
"port": 443 }
},
{ "op": "replace", "path": "options.enableDriveAnalyticsData", "value": true
}
]
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
404 | Not found | The resource cannot be found. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
{message_attributes} | varies | Status messages (see Status messages) |
Give documentation feedback