The libraryRemove Web API Method
Remove existing library/ies. This process is asynchronous – the intial request will start the removal process and the initial response will show information about the library/ies being removed – however the removal process will proceed after the response is returned. The user is expected to continue checking the library/ies status using the libraryGetStatus method until the removal process is complete. Once libraryGetStatus contains no information about the specific library/ies, they have been completely remove. Note*: When the library is removed, its all library versions also are removed.
Note:
When the last library version from some library is removed the library itself is removed also.
Version: 1.5
Required Permissions: Full
HTTP method: POST
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
libraryIds |
Array |
Yes |
Library IDs to remove. In case of empty array, no library is removed . |
ignoreFailures |
Boolean |
No |
Ignore failures during removing library versions if only some servers reported failures; If all servers report failures the operation will fail in any case. The default value is FALSE – meaning any failure will return an error. |
Expected Response Code: 202 Accepted - For more information see Response Format.
Response Type: libraryStatus
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchLibrary |
One or more of the provided library IDs do not exist. |
Example
|
Request
Response
|