Notes
Delete Note
This endpoint deletes an existing note.
DELETE
/v1/notes/:id
Bearer*
Body
note_id
string
The ID provided in the data tab may be used to identify the note
Response
id
string
The ID provided in the data tab may be used to identify the return
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/notes/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "nt_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "nt_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "note",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/notes/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "nt_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "nt_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "note",
"deleted": true
}