Delete an import package
delete
/AgentWeb/api/elementmanager/import/EMPackages/{id}
Deletes an Element Manager import package
Request
Path Parameters
-
id(required): integer
Specify the id of the package
Header Parameters
-
API_VERSION: string
API VERSION for the headerDefault Value:
1
Allowed Values:[ "1" ]
-
USERSESSION(required): string
Authentication token for the header
Response
Supported Media Types
- application/json
200 Response
Status of import
Nested Schema : EMPackageStatus
Type:
Show Source
object
-
code(required):
integer
-
description(required):
string
-
errorCode(required):
string
Error details of the item
Examples
The following example shows how to delete an import package.
cURL Command Example
curl -X DELETE https://mysite.example.com/AgentWeb/api/elementmanager/import/EMPackages/100005 -H "USERSESSION: feihg98GnT7i" -H "API_VERSION: 1" -H "Content-Type: application/json"
Response Body Example
The following shows an example of the response body in JSON format.
{ "description": "Deleting the EM package", "status": { "code": "19", "description": "Deleted" } }