YouTrack Standalone 2017.2 Help

Delete a State from a Bundle

DELETE /admin/customfield/stateBundle/{bundleName}/{stateName}

Remove state from bundle

DELETE /rest/admin/customfield/stateBundle/{bundleName}/{stateName}

Parameters:

Name

Type

Description

bundleName

string

Name of a bundle from which a state should be deleted.

stateName

string

Name of a state to delete.

Sample

Request

DELETE https://example.com/youtrack/rest/admin/customfield/stateBundle/New%20Name%20with%20spaces/Rvalue%204 Cookie: $Version=0; JSESSIONID=1xubq236wmpbd14yd1mhq4jcrw; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 0
Last modified: 7 March 2019