Delete a note
curl --request DELETE \
--url https://api.webstashai.com/pages/{id}/notes/{noteId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/pages/{id}/notes/{noteId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/pages/{id}/notes/{noteId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)Delete a note
DELETE
https://api.webstashai.com
/
pages
/
{id}
/
notes
/
{noteId}
Delete a note
curl --request DELETE \
--url https://api.webstashai.com/pages/{id}/notes/{noteId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/pages/{id}/notes/{noteId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/pages/{id}/notes/{noteId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)