Delete a note from a contact

Deletes one of the contact's own notes. The note must belong to the contact in the path: a note on another contact, on a deal or on an account is a 404 here. Only the user who wrote the note, or an admin user, may delete it. Returns 404 when the contact does not exist, the note is not one of its notes, or the API user may not edit contacts; and 403 when the API user is neither the author nor an admin user, or the delete fails. The response body is an empty object.

Path Params
string
required
^(?:\d+)$

ID of the contact the note belongs to

string
required
^(?:\d+)$

ID of the note to delete

Responses

403

The API user is neither the author of the note nor an admin user, or the delete failed. Body: a plain-text sentence, not JSON.

404

No contact with that id: body message, a sentence naming the contact id. The API user may not edit contacts: body message, a sentence naming the note id. Or the note is not one of this contact's notes: body errors, a list with one item carrying status, title and detail.

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json