Deletes the preset of the company by ID

Deletes the preset of the company by ID.

Request

DELETE

https://courier.yandex.ru/api/v1/reference-book/companies/{company_id}/presets/{preset_id}

Path parameters

Name

Description

company_id*

Type: integer

The ID of the company whose presets you need to get.

preset_id*

Type: string

ID of the preset in the reference book.

Responses

200 OK

Preset successfully deleted.

401 Unauthorized

Authorization error. Make sure that the request header contains the correct OAuth token.

403 Forbidden

You do not have access to this object.

422 Unprocessable Entity

Incorrect input. The preset is associated with some other company.

500 Internal Server Error

Server error during request processing.