Skip to main content

DELETE /osImages/remoteFileServers/{id}

Use this method delete a specific remote file-server profile.

Note
This REST API requires Lenovo XClarity Administrator v1.3.0 or later.

Authentication

Authentication with username and password is required.

Request URL

DELETE https://{management_server_IP}/osImages/remoteFileServers/{id}

where {id} is the ID of an remote file-server profile. To obtain the ID, use the GET /osImages/remoteFileServers method.

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
204No ContentThe request completed successfully, but no response content is returned.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.

For XClarity Administrator advanced functions, ensure that you have active licenses for each managed server that supports the advanced functions.

404Not foundA specified resource cannot be found. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
resultStringResults of the request. This can be one of the following values.
  • success. The request completed successfully.
  • failed. The request failed. A descriptive error message was returned.
  • warning. The request completed with a warning. A descriptive error message was returned.
messagesArray of objectsInformation about one or more messages
 idStringMessage identifier of a returned message
 textStringMessage text associated with the message identifier
 explanationStringAdditional information to clarify the reason for the message
 recoveryArray of objectsRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available
The following example is returned if the request is successful.
{
"result": "success",
"messages": [{
"id": "FQXHMSE0001I",
"explanation": "",
"recovery": {
"text": "Informationonly;noactionisrequired.",
"URL": ""
},
"text": "Therequestcompletedsuccessfully."
}]
}