Delete segmentation query
Description
Delete segmentation query.
Request URL
Method: POST
https://example.com/api/v1.1/datatables/query_segments/delete
Request parameters
Parameter | Type | Example | Required | Description |
---|---|---|---|---|
token | string | "abcdefghijklmnqrstuvwxyz" | Yes | API token |
id | int | 1 | Yes | Query ID |
Request example
- JSON
- XML
{
"id": 2,
"token": "abcdefghijklmnqrstuvwxyz"
}
<xml>
<id>2</id>
<token>abcdefghijklmnqrstuvwxyz</token>
</xml>
Response example
- JSON
- XML
{
"data": null,
"error": 0,
"error_text": "Successful operation",
}
<xml>
</data>
<error>0</error>
<error_text>Successful operation</error_text>t>
</xml>
Response parameters
Parameter | Type | Description |
---|---|---|
error | int | Error code |
error_text | string | Error text |