Deleting a Variable

Deletes a variable from a documents variable dictionary.

Ensure that the variable is no longer used by the queries in the document.

Request

DELETE <webiURL>/documents/{documentId}/variables/{variableId}

Where:

  • {documentId}: the identifier of the Web Intelligence document retrieved from the list of documents
  • {variableId}: the identifier of the variable retrieved from the list of variables
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/8022/variables/L9

<success>
    <message>The resource of type 'Variable' with identifier 'L9' has been successfully deleted.</message>
    <id>L9</id>
</success>