|
<< Click to Display Table of Contents >> Navigation: IMS version 21.9 > IMS Admin - User Guide > REST API > DELETE Commands |
** WORK IN PROGRESS ** This section is yet to be updated to the newer version of IMS Feature location, commands, instructions, and screen shots may not appear the same if you are using a newer version of IMS |
The DELETE command is used to delete/remove an object from the IMS database.

Click the 'TRY IT OUT' button

The syntax is:
{
"id": "string",
"propertyAndValues": [
{
"property": "string",
"value": "string"
}
]
}
Fill in:
Entity = City
ID = name:GRONINGEN
{"id": "name:GRONINGEN",
"propertyandvalues": []
}
The call that is generated:
curl -X DELETE "http://your url/api/Ims/City" -H "accept: application/json" -H "Authorization: b7712a28-8398-4367-833d-e591a66082c9"
-H "Content-Type: application/json-patch+json" -d "{\"id\": \"name:GRONINGEN\",\"propertyandvalues\": []}"
The same functionality via the bulk loader looks like this:
OR
you can use the bulk loader by using the Name column
