Deletes company zone

  1. HTTP Request
  2. Path Parameters
  3. Query Parameters
  4. Responses
    1. Code 200
    2. Code 401
    3. Code 403
    4. Code 422

Deletes company zone from a reference book by id.

HTTP Request

DELETE https://courier.yandex.ru/api/v1/reference-book/companies/{company_id}/zones/{instance_id}\
?apikey={string}

Path Parameters

company_id *

integer

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

instance_id *

string

The ID of the company zone in reference book.

company_id *

integer

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

instance_id *

string

The ID of the company zone in reference book.

Query Parameters

apikey

string

Company's apikey.

apikey

string

Company's apikey.

Responses

Code 200

Company zone was deleted.

Code 401

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

Code 403

You do not have access to this object.

Code 422

Incorrect input. The operation can't be performed.