v3 Удаление регистрационного документа

Описание:

удалить регистрационный документ

URI:

https://api.multitel.net/v3/delete_document/${document_id}

Параметры:

Required: 
- document_id: Unique ID of the document

Методы:

POST/GET


Пример вывода:

{
  "status": {
    "code": 200,
    "msg": "Success"
  },
  "response": ""
}

Пример кода:

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.multitel.net/v3/delete_document/00704f5656b7dcfb934eb3437bc2252e',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json',
    'Accept: application/json',
    'Authorization: Basic YWRtaW46Vnc0OXB11',
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Поиск документации