Using
Deletes a row by primary key. Hanging REFERENCES from other tables are not blocked by this — they resolve to `null` afterwards.
applies to v0.5.1DELETE
/store-api/rel/{domain}/tables/{table}/rows/{pk}
const url = 'https://example.com/store-api/rel/example/tables/example/rows/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/store-api/rel/example/tables/example/rows/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain
required
string
Relational domain
table
required
string
Table name
pk
required
string
Primary key value
Responses
Section titled “Responses”Row deleted
Media typeapplication/json
object
Example generated
{}PK parse/type error
Media typetext/plain
string
Domain, table, or row not found
Media typetext/plain
string
Domain is being deleted
Media typetext/plain
string
Per-domain request budget exceeded
Media typetext/plain
string
Relational engine disabled
Media typetext/plain
string
Insufficient Storage — disk space or memory runs short; the write was not applied. Reads go on; retry after the seconds in Retry-After.
Media typetext/plain
string
Headers
Section titled “Headers”Retry-After
integer