Deletes company zone

Deletes company zone from a reference book by ID.

Request

DELETE

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

Path parameters

Name

Description

company_id*

Type: integer

The ID of the company that is used in requests to the Track & Trace API.

instance_id*

Type: string

The ID of the company zone in reference book.

Responses

200 OK

Company zone was 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 operation can't be performed.