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
Deprecated
Preset successfully deleted.
401 Unauthorized
Deprecated
Authorization error. Make sure that the request header contains the correct OAuth token.
403 Forbidden
Deprecated
You do not have access to this object.
422 Unprocessable Entity
Deprecated
Incorrect input. The preset is associated with some other company.
500 Internal Server Error
Deprecated
Server error during request processing.
No longer supported, please use an alternative and newer version.