Deleting a Data Provider

Usage

Removes a data provider from the list of data providers of a Web Intelligence document.

Request

DELETE /documents/<documentID>/dataproviders/<dataProviderID>

Response

Response type: application/xml or application/json

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

Example

DELETE /documents/7738/dataproviders/DP1

<success>
    <message>The resource of type "Data provider" with identifier "DP1" has been successfully removed.</message> 
    <id>DP1</id>
</success>					

Example

Removing the Last Data Provider

DELETE /documents/7738/dataproviders/DP0

<error>
   <error_code>101</error_code>
   <message>The resource of type "Data provider" with identifier "DP0" cannot be removed.</message> 
</error>