You are reading the documentation for an outdated Corteza release. 2024.9 is the latest stable Corteza release.

Delete a record

We omit most of the data returned by these endpoints.

We replace the important data with variables, such as $RECORD_ID.

To delete a record, use the DELETE $ComposeAPI/namespace/$NAMESPACE_ID/module/$MODULE_ID/record/$RECORD_ID API endpoint.

Example request

curl -X DELETE "$ComposeAPI/namespace/$NAMESPACE_ID/module/$MODULE_ID/record/$RECORD_ID" \
  -H "Authorization: Bearer $JWT";

Example response

{
  "success": {
    "message":"OK"
  }
}