Accelerate the Value of Data

Delete Entity

Delete an entity from a tenant.

This operation deletes an entity from a tenant.

Request

DELETE {TenantURL}/{entity object URI}
Table 1. Parameters
Parameter Required Details
Headers Authorization Yes Information about authentication access token in format "Bearer <accessToken>" (see details in Authentication API).
Note: The URIs of deleted entities or relations are never reused. For attributes, these URIs are unique within the object that contains the attributes. Although theoretically, it is possible to have attributes with the same URI in different objects, the URIs of attributes are also unique within the environment.

Response

JSON Object representing the result of the delete operation. Result contains:

  • status- result of operation; possible values are "OK" or "failed".
  • error- if object cannot be deleted for some reason. Contains details of the problem. Returns only if the object was not deleted.

Request

DELETE {TenantURL}/entities/10Headers: Authorization: Bearer
                204938ca-2cf7-44b0-b11a-1b4c59984512
            

Response

{ "status": "OK"}