Accelerate the Value of Data

Delete Relationship

This operation deletes relations object from a tenant.

Request

DELETE {TenantURL}/{relation 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 ).

Response

JSON Object representing the result of a delete operation. Result contains:
  • status- result of operation; possible values are "OK" or "failed"
  • error- if object can't be deleted for some reason. Contains details of the problem. Returns only if an object wasn't deleted.

Delete Relationship Example

Request

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

Response

DELETE {TenantURL}/relations/r1
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512
{
 "status": "OK"
}