REST API - deleteWorkListView

The table summarizes the REST API - deleteWorkListView.

Request

Format
DELETE <baseurl>/worklist/worklistview/<viewid>
Path parameters viewid: The unique ID of the work list view to delete.

Note: You will need to have set getWorkListViewDetails with the edit flag lockview=true first.

Query parameters apiversion=version (optional, default = 1): Defines the format in which the operation returns its response. If version is:
  • < 2, the response is returned as an unwrapped primitive.
  • 2, the response data is wrapped as an XML fragment.

Response

JSON Returns a JSON representation of the content of the deleteWorkListViewResponse element.
XML Returns the content of the deleteWorkListViewResponse element (from the WorkListService schema)

Example

Request
DELETE <baseurl>/worklist/worklistview/2
Response
{
    2
}