Delete a note
/api/v1/notes/{note_uuid}
operationId: note.delete
Base: https://portal.watcheye.com.au/api/v1/notes/{note_uuid}
Soft-delete a note. The note remains in the database for audit / compliance purposes but is removed from list / show responses (a subsequent show or list call returns 404).
See the Soft Deletion section of the API guide for the full policy (30-day recovery window, portal-only restore).
If you need to keep the note accessible for compliance / audit purposes but no longer
want it surfaced in day-to-day workflows, prefer
archiving
instead of deleting. Archiving a note is currently a portal-only action; the API
surfaces the resulting archived_at timestamp and lets you filter by it.
The deleted note record is returned in the response as confirmation.
Only notes authored by an API key on this account can be deleted through this endpoint:
- Notes authored by a portal user (
created_by.typeisuser) return 404, mirroring the PATCH behaviour - portal-authored notes are managed through the portal. - Notes with
is_immutable: truereturn 403 because they record an audit-trail entry that no actor on any channel can remove.
Notes have no dependent records, so this is a single-record delete.
Path parameters
| Field | Description |
|---|---|
note_uuidrequired |
string (uuid) The note UUID |
Responses
Note deleted (soft-delete - returned as confirmation)
application/json
| Field | Description |
|---|---|
data |
object A note attached to an entity, optionally also linked to an event. Deleting a note is a soft-delete: the record stays in the database for audit /
compliance purposes but is no longer surfaced by the API. Subsequent show or list
calls for a deleted note return |
data. |
string (uuid) The note's UUID |
data. |
string A short obfuscated public identifier for the note (e.g. "N-A1-B2C-3D4") |
data. |
string The free-text content of the note (max 5000 characters) |
data. |
object or null Identifies who created the note. The
|
data. |
string Discriminator for the actor type. |
data. |
string (uuid) UUID of the user or API key that created the note. |
data. |
string Username of the portal user. Present only when |
data. |
string Label of the API key. Present only when |
data. |
boolean When true, the note is an immutable audit-trail entry and cannot be edited or deleted by any actor through any channel. PATCH and DELETE requests against an immutable note return 403. |
data. |
string (uuid) UUID of the entity this note is attached to |
data. |
string (uuid) UUID of the program the entity belongs to |
data. |
string (uuid) or null UUID of the event this note is attached to, if any. Notes created via the
Events PATCH endpoint with a |
data. |
string (date-time) or null ISO 8601 timestamp at which the note was archived in the portal (null if not archived) |
data. |
string (date-time) |
data. |
string (date-time) |
api_reference |
string (uuid) |