Skip to main content
DELETE
/
v1
/
org
/
time-reports
/
{time_report_id}
Delete Time Report
curl --request DELETE \
  --url https://api.twine.se/v1/org/time-reports/{time_report_id} \
  --header 'Authorization: Bearer <token>'
{
  "code": 404,
  "errors": [],
  "message": "Not Found"
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

time_report_id
string
required

Query Parameters

queue_job
boolean

Whether to queue downstream jobs for processing after deletion. Defaults to true.

schedule_in
integer

If set, schedule the downstream jobs to be executed after the given number of seconds. Defaults to 60 seconds.

date_range_from
string

Start date (yyyy-mm-dd) of the date range for which downstream jobs should be processed. If not provided, the time report's start_date will be used.

date_range_to
string

End date (yyyy-mm-dd) of the date range for which downstream jobs should be processed. If not provided, the time report's end_date will be used.

domain_mapping_id
string

The domain mapping ID to use when scheduling downstream jobs. If not provided, jobs will be scheduled for all relevant domain mappings.

Response

No Content Response