YouTrack Standalone 2020.2 Help

Delete Existing Work Item

DELETE /rest/issue/{issue}/timetracking/workitem/{workitemID}

Delete existing work item from specific issue.

DELETE /rest/issue/{issue}/timetracking/workitem/{workitemID}

Parameters:

Name

Type

Description

issue

issue id

Issue id to attach files to

workitemID

string

Unique ID of the existing workitem to edit.

Sample

Request

DELETE https://example.com/youtrack/rest/issue/HBR-63/timetracking/workitem/101-2 Cookie: $Version=0; JSESSIONID=i3p6eke3gf1o1s3zqdlz31ozf; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Vary: Accept-Encoding Content-Type: application/xml; charset=UTF-8 Cache-Control: no-cache, no-store, no-transform, must-revalidate Content-Length: 0
Last modified: 1 July 2020