skip to main content
Querying with OData Version 4 : Method Reference for OData Version 4 : HTTP DELETE or POST and DELETE
  

Try Now

HTTP DELETE or POST and DELETE

Purpose

HTTP DELETE deletes a specified entity. Alternatively, you can use HTTP POST and specify DELETE as the value of the X-HTTP-Method header. The body of the request must be empty and the URL should not contain parameters.

URL

https://<myserver>:<port>/api/odata4/<entity collection>/<entity instance>
where <myserver> is the DSN name or the IP address of the machine where Hybrid Data Pipeline is installed.

Method

DELETE | POST with a X-HTTP-Method header value of DELETE.

Response Status

If the entity is successfully deleted, the OData service returns a status of 204 No Content.

Authentication

Basic Authentication using Login ID and Password.

Authorization

Any active Hybrid Data Pipeline user. The authenticated user must use same credentials used to create the data source definition.

Sample Requests

DELETE https://service.myserver.com:8080/api/odata4/Customers(123)
POST https://service.myserver.com:8080/api/odata4/Customers(123)
X-HTTP-Method: DELETE