/
DELETE Data

DELETE Data

REQUEST

HTTP ELEMENT

Value

HTTP ELEMENT

Value

URI

/rest/crud/1.0/$tableKey/$id

METHOD

DELETE

RESPONSE

HTTP ELEMENT

Value

HTTP ELEMENT

Value

BODY

STATUS CODEBODY

204 - The Resource/Row is successfully deleted

404 - The Resource/Row is non-existing.

SCENARIO

RESPONSE

SCENARIO

RESPONSE

POSITIVE

STATUS CODE: 200

BODY: EMPTY

$tableKey is not found

  • $tableKey is not defined

STATUS CODE: 404

{ "error": "NOT FOUND", "message": "URL doesn't point to existing table" }

There is no row on the $tableKey identified by $id

STATUS CODE: 404

{ "error": "NOT FOUND", "message": "Not Found" }