Delete assets REST services

This page is about Assets & Inventory Plugin for Jira DC. Using Cloud? Click here.

Delete assets with filter

Method

DELETE

URL

/rest/jip-api/1.0/asset-operations/delete-assets.json

{ "operation": 2, "sync": false, "queryIndexParam": { "querySource": "GENERIC_SEARCH", "searchType": "basic", "listType": "detail", "queryIndexSearchParams": [ { "field": "form.name", "keywords": [ "Sample" ], "fieldType": "LIST" } ], "pageNumber": 1, "pageSize": 15, "sortDirection": "asc", "sortField": "asset.name", "sortType": "STRING", "respTime": 1589443505893 } }
{ "success" : true, "errorCode" : null, "errorMessage" : null, "data" : 217, "pagingInfo" : null }

Delete selected assets

Method

DELETE

URL

/rest/jip-api/1.0/asset-operations/delete-assets.json

{ "operation": 1, "sync": false, "assetIds": [ 94, 95 ] }