Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
96 views

Delete records in SMAX via API

Jump to solution

Customer would like to delete records from SMAX using the REST API.

I`ve tried the following via Postman, but it did not work:

https://****/rest/tenantID/ems/bulk

{"entities": [ {
"entity_type": "Incident",
"properties": {
"Id": "13045"
}
}
], "operation": "DELETE"}

 

I know that the DELETE operation is not officially supported.

 

BR,

Alex

 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Cookies was the issue here

View solution in original post

2 Replies
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

the same for a Chane is also not working:

 

{"entities": [ {
"entity_type": "Change",
"properties": {
"Id": "12224"
}
}
], "operation": "DELETE"}

 

{
    "httpStatus": 400,
    "message": "The server encountered an unexpected condition which prevented it from fulfilling the request",
    "developer_message": "",
    "message_key": "500",
    "message_rb": "locale/platform_errors",
    "message_arguments": [],
    "correlationId": "RID-64e60e7d-0d47-4efb-8dc6-55b57ae49c05"
}
0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Cookies was the issue here

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.