API description

Remove data from chart

POST / files / {name} / remove

Removes data from chart, or deletes whole chart

URL

https://www.intchart.com/api/{id}/files/{name}/remove?till_date=2016-10-01

Headers

Authorization Mandatory API key
Accept Optional Media type : text/html or application/json

Parameters

{id} API user ID
till_date Optional ( one of both till_value or till_date have to be set ) Use this parameter if the x-values (horizontal axis) are dates The data lines from start till this value (included) will be removed Possible values   To delete or empty file : all   Otherwise : a date with format     unix timestamp (in seconds)     Year Month Day     Year Month Day Hour Minutes Seconds     Example :
till_value Optional ( one of both till_value or till_date have to be set ) Use this parameter if the x-values (horizontal axis) are numeric values The data lines from start till this value (included) will be removed Possible values   To delete or empty file : all   Otherwise : numeric value

Example Requests

To delete file or to empty file

https://www.intchart.com/api/ABCDEFGH/files/File1/remove?till_date=all

With a date - string

https://www.intchart.com/api/ABCDEFGH/files/File1/remove?till_date=2016-10-01

With a date - unix timestamp

https://www.intchart.com/api/ABCDEFGH/files/File1/remove?till_date=1475280000

With a numeric value

https://www.intchart.com/api/ABCDEFGH/files/File1/remove?till_value=1.123