View Source

h2. DELETE /admin/customfield/ownedFieldBundle/\{bundleName\}/\{fieldName\}
Remove owned field from bundle
{panel}{{DELETE /rest/admin/customfield/ownedFieldBundle/*\{bundleName\}*/*\{fieldName\}*}}{panel}

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


h3. Sample
* *Request*

{code}
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=/
{code}

* *Response*

{code}
HTTP/1.1 200 OK
Content-Type: application/xml;charset=UTF-8
Content-Length: 0
Server: Jetty(7.2.0.v20101020)
{code}