Delete a highlight without providing the page ID
curl --request DELETE \
--url https://api.webstashai.com/highlights/{highlightId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/highlights/{highlightId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/highlights/{highlightId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)Delete a highlight without providing the page ID
DELETE
https://api.webstashai.com
/
highlights
/
{highlightId}
Delete a highlight without providing the page ID
curl --request DELETE \
--url https://api.webstashai.com/highlights/{highlightId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/highlights/{highlightId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/highlights/{highlightId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)