Skip to content

Soft-delete a note

POST
/v1/note/{id}/retract
curl --request POST \
--url http://localhost:8090/v1/note/example/retract \
--header 'Content-Type: application/json' \
--data '{ "actor": "example" }'
id
required
string
Media typeapplication/json
object
actor
string

Example generated

{
"actor": "example"
}

Retraction confirmation

Media typeapplication/json
object
status
string
Allowed values: retracted
noteId
string

Example

{
"status": "retracted"
}