Skip to main content
DELETE
/
api
/
v2
/
public
/
dataref
/
:refName
curl -X DELETE "https://app.refold.ai/api/v2/public/dataref/{refName}" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"
{
  "acknowledged": true,
  "deletedCount": 1
}
Remove a dataref entity for a linked account. This deletes the dataref and all its records.

Authentication

x-api-key
string
required
Your Refold API key.
linked_account_id
string
required
The linked account that owns the dataref.

Path Parameters

refName
string
required
The dataref name to delete. Example: contacts

Response

acknowledged
boolean
Whether the delete was acknowledged.
deletedCount
integer
Number of datarefs deleted.
{
  "acknowledged": true,
  "deletedCount": 1
}
curl -X DELETE "https://app.refold.ai/api/v2/public/dataref/{refName}" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"