DELETE/{resource-id}/{object-id}
Deletes the specified object.
Request format
DELETE https://jsonapi.partner2.yandex.com/vX/{resource-id}/{object-id}
Parametr |
Description |
|
The ID of the resource. |
|
The ID of the object to delete. |
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
No response body.
Example for JSON
Request:
curl -i -g -H "Accept: application/vnd.api+json" -H "Authorization: token bf..." -X DELETE "https://jsonapi.partner2.yandex.com/v1/fast_ban/2"
Response:
HTTP/1.1 204 No Content Server: nginx/1.8.1 Date: Sun, 31 May 2020 12:39:50 GMT