DELETE /{url}/{id}
Description
Deletes a row in the table data and returns a JSON object with the ID of that rowThe route handles the HTTP POST request made to the /{url}/{id}
path.
Parameters
The following path parameters are sent in the request line:
Name | Type | Description |
---|---|---|
url | string | Required. A custom provided url segment. |
id | string or number | Required. The id of a row to be deleted. |
Payload
No payload is required.
Response
The server returns a JSON object with the id of the deleted row.
Example:
{
"id": 4
}
The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).
Related articles: