DELETE /v1/spaces/:space_id/webhooks/:webhook_id
HTTP Verb: DELETE
Available statuses: 204 No Content, 422 Unprocessable Entity
Object: Webhook
Location: n/a
Formats: XML, JSON
Delete a Webhook by ID. This request is only available to users with All permissions in space.
Params
No params available
Examples
Request XML, using cURL utility:
curl -i -X DELETE -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/webhooks/_webhook_id.xml
Response
HTTP/1.1 204 No Content
Server: nginx/0.8.55
Date: Wed, 20 Jun 2012 12:13:01 GMT
Content-Type: application/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 204
Request JSON, using cURL utility:
curl -i -X DELETE -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/webhooks/_webhook_id.json
Response
HTTP/1.1 204 No Content
Server: nginx/0.8.55
Date: Wed, 20 Jun 2012 12:13:01 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 204
For delete operations no response body is available, the response status will tell you the result of the operation.