---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://yandex.com/dev/partner-objects/doc/en/reference/delete-resource-id-object-id-relationships-resource-id.md
  - https://yandex.com/dev/partner-objects/doc/ru/reference/delete-resource-id-object-id-relationships-resource-id.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/partner-objects/doc/en/llms.txt


# DELETE/{resource-id1}/{object-id}/relationships/{resource-id2}

Deletes objects that are related to the specified object.


## Request format {#input}

```
DELETE https://jsonapi.partner2.yandex.com/vX/{resource-id1}/{object-id}/relationships/{resource-id2}
```

#|
|| **Parameter** | **Description** ||
|| `resource-id1`
| ID of the first resource.
||
|| `object-id`
| ID of an object that belongs to the first resource.
||
|| `resource-id2`
| ID of the second resource. The list of objects for the second resource is searched for objects that are related to the specified object.
||
|#


The general structure of the response is given below. The elements may appear in a different order. The structure may contain internal parameters that are not described in the table.


## Response format {#output-structure}

The response body is missing.


## Example for JSON {#example-JSON}

> Request:
> 
> ```
> curl -i -g -H "Accept: application/vnd.api+json" -H "Authorization: token bf..." -X DELETE "https://jsonapi.partner2.yandex.com/v1/context_on_site_rtb/R-A-3228-1/relationships/fast_ban"
> ```
> 
> Response:
> 
> ```json
> HTTP/1.1 204 No Content
> Server: nginx/1.8.1
> Date: Sun, 31 May 2020 12:39:50 GMT      
> ```

