Magidoc

deleteTimesheet
Mutation

Used for deleting timesheets in "timesheet" tab in "Timesheets" app.

Access: It requires user access.

Errors: Returns specific expected errors if: not deleted timesheet item doesn't exist, user is not timesheet submitter

Arguments

#

_id

ID !
Non-null

timesheetId to delete

workspaceId

ID !
Non-null

workspace associated with timesheet

Response

#

Returns Timesheet .

Example

#

    
  

3

    
  

3

    
  

3