Delete existing relations specified by ID.
Request
Request headers
| Key | Required | Type | Value | Description |
|---|---|---|---|---|
| x-batch | No | boolean | true|false |
Required only for batch processing. |
Request body properties
An array of objects specify the relations to delete.
| Property | Required | Type | Description |
|---|---|---|---|
| id | Yes | string |
|
| relationTypeId | No | string |
|
| relationTypeXref | No | string | |
| subjectId | No | string |
|
| subjectXref | No | string | |
| objectId | No | string |
|
| objectXref | No | string | |
| triggersWorkflow | No | boolean |
This property may be set to |
[
{
"id": "Cc25FCCcc91E4E87A5A09694"
}
]
Response
Response body properties
| Ancestors | Property | Required | Type | Description |
|---|---|---|---|---|
| data | Yes | array(object) | Data envelope for response. | |
| data | id | Yes | string |
|
| links | No | object | ||
| links | self | No | string |
Specifies the id value for the asset. This is omitted if the xref value is specified. |
| links | next | Nio | string | Specifies the xref value for the asset. This is omitted if the id value is specified. |
| links | prev | No | string | Specifies the id value for the asset. This is omitted if the xref value is specified. |
| errors | No | array<object> |
{
"data": [
{
"id": "aB01FDebB6De022fc41F4b59"
}
],
"links": {
"self": "https://api.cloud.precisely.com/relations"
}
}
{
"links": {
"self": "https://example.com/",
"next": "https://example.com/",
"prev": "https://example.com/"
},
"errors": [
{
"id": "string",
"status": 0,
"code": "string",
"detail": "string",
"source": {
"additionalProp1": {}
}
}
],
"data": {}
}
{
"statusCode": 400,
"error": "Bad Request",
"message": "Bad Request"
}
{
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required"
}
{
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found"
}
{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}
{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}
{
"statusCode": 503,
"error": "Service Unavailable",
"message": "Service temporarily unavailable"
}
{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "Request timeout"
}