Delete the Relationship of an Item

Use the following details to delete the relationship of an ITEM using REST interface:

HTTP Method

DELETE

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/item/{id}/relationship/{relationshipId}

Request Parameters

Provide values for the following parameters:

Parameter Name Data Type Mandatory
id string Yes
relationshipId string Yes

Request Model

Media Type: application/json

Response Model

{
  "data": {
    "childId": "string",
    "forwardType": "string",
    "id": "string",
    "reverseType": "string"
  },
  "duration": 0,
  "result": {
    "code": "string",
    "message": "string",
    "params": [
      "string"
    ]
  },
  "startTimestampMS": 0
}

Response Codes and Descriptions

Response Code Description
204 No Content
401 Unauthorized
403 Forbidden