Delete Record

Permanently delete a record.


POST /v1/delete-record

Permanently delete a record. This cannot be undone. The record is moved to trash internally but removed from the workspace. Use get-record first to verify you are deleting the correct record.

Request body

FieldTypeRequiredDescription
workspaceIdstringYesThe workspace ID the record belongs to
recordIdstringYesThe record ID to delete
{
  "workspaceId": "string",
  "recordId": "string"
}

Response

{
  "success": true
}

Example

curl -X POST https://rest.blue.app/v1/delete-record \
  -H "Authorization: Bearer $BLUE_TOKEN" \
  -H "blue-org-id: $BLUE_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{"workspaceId":"string","recordId":"string"}'