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 Name | Type | Description |
---|---|---|
projectIdOrKey | String | Project ID or Project Key |
id | Number | Custom field ID |
itemId | Number | List 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
},
// ...
]
}