Delete Entity Operation - web_services - 23.1

Spectrum Web Services Guide

Product type
Software
Portfolio
Integrate
Product family
Spectrum
Product
Spectrum > Web Services
Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Web Services Guide
First publish date
2007
Last updated
2024-10-17
Published on
2024-10-17T00:33:46.811413

The delete entity operation removes an existing entity.

HTTP DEL URL Format

The request is specified as follows. The Spectrum server supports both HTTP and HTTPS.

DEL http://server_name:port/rest/ContextGraph/operations/modelName/entities/entityType/entityLabel

URL Path Elements

modelName
The name of the Context Graph model.
entityType
An entity type defined in the model.
entityLabel
The label for an existing entity.

Response

The operation returns the status code "200 OK" when it is successful. The operation returns the status code 500 (Error) when it fails.

Delete entity with JSON Response

The following request deletes the "Place" entity type in the "911" model with the label "FlightSafety International".

DEL http://localhost:8080/rest/ContextGraph/operations/911/entities/Place/FlightSafety%20International

Response:

{
    "success":"200 OK"
}