Skip to main content

deleteById()

Delete a record by id.

const { data, error } = await kontenbase.service('posts').deleteById('605a251d7b8678bf6811k3b1')

Response

NameTypeDescription
res.dataobjectResponse for data
res.statusnumberResponse for status code
res.statusTextstringResponse for status message
res.errorobjectResponse for error occurred