Soft-delete a note
POST
/v1/note/{id}/retract
const url = 'http://localhost:8090/v1/note/example/retract';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"actor":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8090/v1/note/example/retract \ --header 'Content-Type: application/json' \ --data '{ "actor": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Body
Section titled “Request Body”Media typeapplication/json
object
actor
string
Example generated
{ "actor": "example"}Responses
Section titled “Responses”Retraction confirmation
Media typeapplication/json
object
status
string
noteId
string
Example
{ "status": "retracted"}