YouTrack Standalone 7.0 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 http://localhost:8081/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 Server: Jetty(7.2.0.v20101020)
Last modified: 29 September 2016