{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/timesheets/{timesheetId}.json","auth":"required","examples":{"codes":[{"language":"javascript","code":"$.ajax({\n type: \"DELETE\",\n url: \"/api/v1/timesheets/\" + timesheetId + \".json\", \n contentType: 'application/json', \n dataType: \"json\", \n success: worked, \n \t\theaders: { apiKey: apiKey }\n});","name":""}]},"method":"delete","params":[{"name":"timesheetId","type":"string","default":"","desc":"The id of the timesheet that you would like to delete.","required":true,"in":"path","ref":"","_id":"557f5404e211d20d006014a9"}],"results":{"codes":[{"status":200,"language":"json","code":"{\n status: \"Okay\"\n}","name":""}]},"settings":""},"next":{"description":"","pages":[]},"title":"Delete a Timesheet","type":"endpoint","slug":"delete-a-timesheet","excerpt":"A Timesheet instance records the number of hours spent on Tasks and Administrative activities for a particular Resource.\n\nA Timesheet entry is for a particular day, and there can only be one Timesheet record per Resource for a particular task or admin type for a specific date.\n\nUse this API to delete a Timesheet record by its unique identifier.","body":"Please note that Timesheet records deleted by this API will not be recoverable later.","updates":[],"order":7,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"55651d35b893840d00444740","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5548466cd2c8410d006c2147","554a69ba0b54d30d007fe128","554a7f3338e3620d0082192e","5565162e03b6710d00916942","55651a0c65a1130d00400c2b","55651d4565a1130d00400c2f","55651e0165a1130d00400c32","5565217903b6710d0091695f"],"_id":"5548466bd2c8410d006c2146","createdAt":"2015-05-05T04:26:19.796Z","project":"5548466bd2c8410d006c2143","__v":8,"releaseDate":"2015-05-05T04:26:19.796Z"},"__v":2,"editedParams":true,"editedParams2":true,"project":"5548466bd2c8410d006c2143","category":{"sync":{"isSync":false,"url":""},"pages":["55651a9c03b6710d00916948","55651b27b893840d00444737","55651cb603b6710d0091694c","55651d35b893840d00444740","55652662eb1615230053fd54","556526c1b60f251900703445","556527157a60a419000627f7"],"title":"Timesheets","slug":"timesheets","order":4,"from_sync":false,"reference":false,"_id":"55651a0c65a1130d00400c2b","project":"5548466bd2c8410d006c2143","version":"5548466bd2c8410d006c2146","__v":7,"createdAt":"2015-05-27T01:12:44.934Z"},"createdAt":"2015-05-27T01:26:13.919Z","githubsync":"","user":"555a5da8bcb32e19006f816f","parentDoc":null}
deleteDelete a Timesheet
A Timesheet instance records the number of hours spent on Tasks and Administrative activities for a particular Resource.
A Timesheet entry is for a particular day, and there can only be one Timesheet record per Resource for a particular task or admin type for a specific date.
Use this API to delete a Timesheet record by its unique identifier.
Definition
{{ api_url }}{{ page_api_url }}
Parameters
Path Params
timesheetId:
required
string
The id of the timesheet that you would like to delete.