deleteGBLRule - данный метод удаляет номера из Global Black List.
Точка подключения: https://gapi.mtt.ru:6443/v1/api
Авторизация: Basic Auth
Метод: POST
Name | Type | Description |
---|---|---|
gbl_rule | string | Phone number to be forbidden |
Name | Type | Description |
---|---|---|
success | integer: [0,1] | Result success flag |
{ "id": "1", "jsonrpc": "2.0", "method": "deleteGBLRule", "params": { "gbl_rule": "79266966166" } } |
{ "jsonrpc":"2.0", "id":"1", "result": { "success":1 } } |
{ "jsonrpc":"2.0", "id":"1", "error": { "code":-32001, "message":"Data not found", "data": [ { "code":"V_VALUE_NOT_FOUND", "attribute":"gbl_rule", "message":"gbl_rule «79266966166» not found.", "tpl":"{attribute} «{value}» not found.", "tplParams": { "value":"79266966166", "attribute":"gbl_rule" } } ] } } |