Purges a data provider.
PUT <webiURL>/documents/{documentId}/dataproviders/{dataProviderId}?purge={purge}&purgeOptions={purgeOptions}
Where:
Request body (optional):
<dataprovider> <name>...</name> </dataprovider>
Response type: application/xml or application/json
The response is a message stating the success or failure of the request.
PUT <webiURL>/documents/7738/dataproviders/DP0?purge=true
<success> <message>The resource of type 'Data provider' with identifier 'DP0' has been successfully updated.</message> <id>DP0</id> </success>
PUT <webiURL>/documents/7738/dataproviders/DP0?purge=true&purgeOptions=prompts
<success> <message>The resource of type 'Data provider' with identifier 'DP0' has been successfully updated.</message> <id>DP0</id> </success>
PUT <webiURL>/documents/7738/dataproviders/DP0
Request body in an XML file:
<dataprovider> <name>My Renamed Data Provider</name> </dataprovider>
Response:
<success> <message>The resource of type 'Data provider' with identifier 'DP0' has been successfully updated.</message> <id>DP0</id> </success>