Contents:
This API call enables a job definition to be deleted.
When you have planned a job and retrieved its data, you are expected to delete it using this API call. Any jobs left on the system three months after creation are subject to deletion without notice.
Example which deletes a job.
POST https://api.cyclestreets.net/v2/batchroutes.deletejob?key=... ( [id] => 69158 [username] => myusername [password] => mypassword )
Result:
{ "id": 69158, "status": "deleted" }
None.
JSON response as above.
JSON object containing an error key and a text string.
Example error (text string will vary):
{
"error": "The job you requested to delete is either non-existent or is owned by another user."
}