Delete a Webhook from the database

Note

API endpoints:

Delete a single webhook by its id

Give a single webhook id to delete.

DELETE /restapi/1.0/webhooks/{id}

Request:

DELETE /restapi/1.0/webhooks/7 HTTP/1.1
Host: {your_Odoo_server_url}

Response:

HTTP/1.1 200 OK

{}
Request Headers:
 
  • Accept – the response content type depends on Accept header
  • Authorization – The OAuth protocol parameters to authenticate.
Response Headers:
 
Status Codes:

Delete a list of webhooks of particular ids

Give a list of webhook ids to delete.

DELETE /restapi/1.0/webhooks?ids={comma_separated_ids}

Request:

DELETE /restapi/1.0/webhooks?ids=7,12 HTTP/1.1
Host: {your_Odoo_server_url}

Response:

HTTP/1.1 200 OK

{}
Request Headers:
 
  • Accept – the response content type depends on Accept header
  • Authorization – The OAuth protocol parameters to authenticate.
Response Headers:
 
Status Codes: