Delete Subscription data by ID
| Variable | Name | Type | Format | Usage | Description |
|---|---|---|---|---|---|
| X-App-Sig | X-App-Sig | header | string | M | Dev Authentication |
| id | id | path | integer | M | Id record |
200 - Response successfully when status is OK
<p style="color:green;font-size:16px;">200 - Response successfully when status is OK</p>
| Variable | Name | Type | Format | Description |
|---|---|---|---|---|
| status | status | string | Request execution status | |
| error_description | Error Description | string | Description of error | |
| error | Error Code | string | Error code | |
| data_type | data_type | string | Type of data | |
| total_records | total_records | string | Total count of records | |
| data | data | object | Empty object |
200 - Response with error when status is ERROR
200 - Response with error when status is ERROR
| Variable | Name | Type | Format | Description |
|---|---|---|---|---|
| status | status | string | Request execution status | |
| error_description | Error Description | string | Description of error | |
| error | Error Code | string | Error code | |
| data_type | data_type | string | Type of data | |
| total_records | total_records | string | Total count of records | |
| data | data | object | Empty object |
when trying to delete record which exists (ID = 13)
{
"status": "error",
"error_description": "[Subscription code is in use in clients!]",
"error": {},
"data_type": "",
"total_records": -2,
"data": {}
}
when trying to delete record which doesn't exist (id = 111111)
{
"status": "error",
"error_description": "[RECORD-NOT-FOUND]",
"error": {},
"data_type": "",
"total_records": -2,
"data": {}
}