PocketBase 数据库 icon

PocketBase 数据库

与 PocketBase 数据库进行交互

📄 记录 → 🗑️ 删除记录

AI-generated

Summary

Removes a single record from a specified PocketBase collection using its unique ID.

Inputs

  • collection (required) — The name of the collection containing the record to delete.
  • recordId (required) — The unique identifier of the record to delete.

Output shape

A single record item containing the result of the deletion.

The operation returns a success confirmation object (e.g., { success: true, deleted: 'recordId' }).

Examples

Example 1: Remove a specific user record.

Select the 'users' collection and provide the record ID.

Links

Discussion