Can I use IRE APIs to Delete a CI relationship?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2023 10:02 PM
Hi,
In one of the integrations to create and update CIs, we are using IRE APIs. - createOrUpdateCI.
I can create the relationships using this by sending the relationship data in JSON format, but I am not able to delete relationships using this?
Is there any way to delete CI relationships using IRE?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 05:38 AM
I've been looking for the same thing and the CMDB Instance API looks like the it's the only method other than Table API.
The DELETE operation "Deletes the relation for the specified configuration item (CI)."
https://www.servicenow.com/docs/csh?topicname=cmdb-instance-api.html&version=latest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 06:54 PM
@nav sid No, you cannot delete through the IRE API but you can find the exact sys_id of the relationship by calling the identifyAPI/createOrUpdateCIEnhanced API and delete the record using glide.