YouTrack Standalone 2017.1 Help

Delete Owned Field from a Bundle

DELETE /admin/customfield/ownedFieldBundle/{bundleName}/{fieldName}

Remove owned field from bundle

DELETE /rest/admin/customfield/ownedFieldBundle/{bundleName}/{fieldName}

Parameters:

Name Type Description
bundleName string Name of bundle, from which a field should be deleted.
fieldName string Name of a field to delete.

Sample

Request

DELETE http://localhost:8081/rest/admin/customfield/ownedFieldBundle/New%20bundle%20name/New%20element%20name Cookie: $Version=0; JSESSIONID=8dmapdeyqjdkeab2l6yhf4cu; $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: 18 April 2017