DELETE api/WebHookSubscription/Delete/{id}
<strong>delete/Delete</strong> <br /> Deletes a registered <see cref="T:Microsoft.AspNet.WebHooks.WebHook" />WebHook for a given device.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID uniquely identifying the WebHook. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Status "Success=0" if the WebHook was removed or exception in case of error <table><tr><td><strong>0</strong></td><td>Success</td></tr><tr><td><strong>1</strong></td><td>NotFound</td></tr><tr><td><strong>2</strong></td><td>Conflict</td></tr><tr><td><strong>3</strong></td><td>OperationError</td></tr><tr><td><strong>4</strong></td><td>InternalError</td></tr></table>
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.