Delete form data
delete
/api/rest/2.0/data/form/{id}/datarow/{rowId}
Delete the form data of the form specified by the
id
parameter and row specified by the rowId
parameter.Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
The ID of the form
-
rowId(required): integer
The ID of the form data
Response
Supported Media Types
- application/json
201 Response
Success
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Examples
The following examples demonstrate how to delete form data using an HTTP request and cURL. For more information on requests, see API requests.
HTTP Request Example
Delete form data for the form with Id #18 and the form data to be deleted is row #235:
DELETE /api/REST/2.0/data/form/18/datarow/235
Response:
200 OK
For DELETE
requests, there is no body returned.
cURL Example
Here is the same example in cURL given an instance with the name APITest
, username API.User
, and POD of 3
.
curl --user "APITest\API.User" --request DELETE https://secure.p03.eloqua.com/api/rest/2.0/data/form/18/datarow/235