Deleting a record with DELETE /records/{recordId}

Intermediate

Send a DELETE request to permanently remove a FileMaker record via the Data API, and explore confirmation patterns to avoid accidental deletions.

What you'll learn

  • How to send a DELETE request for a specific record
  • How to confirm success by checking the response message
  • Patterns for guarding against accidental deletions in scripts

A DELETE request to /records/{recordId} permanently removes that record — there is no undo, so always confirm intent before calling it.

1/3
1

Send the DELETE request

No request body is required. Only the Authorization header and the recordId in the URL are needed.

HTTP
DELETE /fmi/data/v1/databases/{db}/layouts/Customers/records/12
Authorization: Bearer {token}

Sign in to track your progress and pick up where you left off.

Sign in to FM Dojo