Deleting a Report Element

You can delete one of the following report elements:

  • Cell (only free cells, not cells in a table)
  • Section
  • Table (VTable, HTable, XTable, and Form)
  • Visualization (charts)
Remember
  • The content of that element is also deleted from the report.
  • You cannot delete PageZone elements and table elements of type Cell.
Request

DELETE <webiURL>/documents/{documentId}/reports/{reportId}/elements/{elementId}

Where:
  • {documentId} is the document identifier retrieved from the list of documents
  • {reportId} is the report identifier retrieved from the list of reports
  • {elementId} is the element identifier retrieved from the list of elements of a report
Response

Response type: application/xml or application/json

The response is a message stating the success or failure of the request.

Example

DELETE <webiURL>/documents/5022/reports/3/elements/22

<success>
    <message>The resource of type 'Report element' with identifier '22' has been successfully deleted.</message>
    <id>22</id>
</success>