Contents

Delete List Item for List Type Custom Field

Deletes list item for list type custom field. Calling API fails if specified custom field’s type is not a list.

Role

Administrator
Project Administrator

Method

DELETE

URL

/api/v2/projects/:projectIdOrKey/customFields/:id/items/:itemId

URL parameters

Parameter NameTypeDescription
projectIdOrKeyStringProject ID or Project Key
idNumberCustom field ID
itemIdNumberList item ID

Response example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

{
    "id": 8,
    "projectId": 5,
    "typeId": 5,
    "name": "language",
    "description": "",
    "required": false,
    "applicableIssueTypes": [ ],
    "allowAddItem": true,
    "items": [
        {
            "id": 1,
            "name": "java",
            "displayOrder": 0
        },
        // ...
    ]
}