API Client
Main Page
Related Pages
Classes
index
Examples
Delete a Note
Use
Model::delete()
method to delete a record.
$model = $client->model(
'Note'
);
$note_id =
'67be6e0c-8760-e213-32fb-5aa79805e790'
;
$result = $model->delete($note_id);
echo json_encode($result, JSON_PRETTY_PRINT),
"\n"
;
Output:
1
true
Generated by
1.8.11