DELETE /aicc/service/sftp/locks/{id}
Use this method to release a specific SFTP service lock by deleting a specific lock ID and, if all locks are deleted, stop (disable) the SFTP service (unless dbgshell account exist on the Lenovo XClarity Administrator instance).
Note
- You must be a member of a user group to which the predefined Supervisor role is assigned.
- This REST API requires Lenovo XClarity Administrator v4.1.0 or later.
Authentication
Authentication with username and password is required.
Request URL
DELETE https://{management_server_IP}/aicc/service/sftp/locks/{id}
where {id} is the ID of the SFTP service lock. To obtain the lock ID, use GET /aicc/service/sftp/locks.
Query parameters
None
Request body
None
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. |
401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body. |
403 | Forbidden | The 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. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
messages | Array of objects | Information about one or more messages | ||
id | String | Message identifier of a returned message | ||
text | String | Message text associated with the message identifier | ||
explanation | String | Additional information to clarify the reason for the message | ||
recovery | Array of objects | 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 |
The following example is returned if the request is successful.
{
"result": "success",
"messages": [{
"id": "FQXHMSE0001I",
"explanation": "",
"text": "The request completed successfully.",
"recovery": {
"text": "Information only. No action is required.",
"URL": ""
}
}]
}
Give documentation feedback