Remove a Plug-in
delete
/rest/{versionId}/admin/plugins/{pluginId}
Use this (DELETE) method to remove a plug-in from the SDM server. The plug-in must be uninstalled before performing this task.
Request
Path Parameters
Back to Top
Response
400 Response
The user input is invalid.
401 Response
The session ID is invalid.
403 Response
There is no permission to access the resources.
404 Response
The object (resource URI, device, and so on) of your input request cannot be found.
500 Response
Internal server error
Examples
The following example shows how to remove a specified product plugin (if it is in the uninstalled state) from the server by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see Use cURL
<curl>
Example of cURL Data
The following shows an example of cURL data sent with the request.
curl -v -b sessionid.txt -X DELETE -H"Accept:application/json" http://localhost:8080/rest/v1.1/admin/plugins/ID6
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 204 No Content Date: Thu, 07 Sep 2017 19:04:18 GMT Server: Apache X-Frame-Options: SAMEORIGIN