This API call deletes a watch, returning it.
HTTP-, API- or Beetil-specific errors will be returned otherwise.
- API URL
- https://youraccount.beetil.com/external_api/v1/:parent/:parent_id/watches/:id.format
- HTTP Method
- DELETE
URL parameters
| Parameter | Format | Default | Mandatory |
|---|---|---|---|
| parentThe name of the parent the watch belongs to (see Show Watches). | string | Yes | |
| parent_idThe id of the parent the watch belongs to (see Show Watches). | integer | Yes | |
| id | integer | Yes |
Example DELETE Response
{
"result": {
"time_entry": "JSON string similar to GET :parent/:parent_id/watches/:id"
},
"version": "1.0",
"status": "Success"
}Last updated 31 January 2011