Delete a test record through the Inbound API

Check the exact record and its dependencies before deletion, then confirm the outcome without repeating the request.

Use this example to remove a fictional record from a regular workspace test table. Deletion can also affect relationships, linked notes, and documents. Review the intended record and check the impact in Mainbase before sending a request.

Verify the target and delete it once

  1. Use an API key whose acting user can read and delete the test record. Confirm the workspace and look up the table ID and the positive numeric record ID.
  2. Read the record by ID and check its title and a known value. If the record details or deletion impact are unclear, stop and check the record in Mainbase.
  3. Use the base URL from API Access and load the key from your secret manager. Replace 123 and 456 with the verified table and record IDs. Send the request once.
curl --silent --show-error --fail-with-body --include \
  --request DELETE "${NIXA_API_BASE_URL}/entities/123/records/456" \
  -H "X-API-Key: ${NIXA_API_KEY}"

Confirm the outcome

HTTP 204 confirms deletion and has no response body. Check the same table in Mainbase if you need a separate verification.

  • If you receive 403, check the acting user’s permission to delete that specific record. If a validation error reports a required or provider-managed relationship, inspect the record and that dependency before trying again.
  • If the request timed out or the connection was interrupted, check the same record ID before repeating the deletion. If the record cannot be read, ask someone who can verify the table and its access. A failed read alone leaves the deletion outcome uncertain.

To change a value while keeping the record, update its fields. To remove only an association, remove the outgoing link.

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?