Delete a note
curl --request DELETE \
--url https://audream-api.tulingbc.com/v1/notes/{note_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://audream-api.tulingbc.com/v1/notes/{note_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://audream-api.tulingbc.com/v1/notes/{note_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import Foundation
let url = URL(string: "https://audream-api.tulingbc.com/v1/notes/{note_id}")!
var request = URLRequest(url: url)
request.httpMethod = "DELETE"
request.timeoutInterval = 10
request.allHTTPHeaderFields = ["Authorization": "Bearer <token>"]
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))val client = OkHttpClient()
val request = Request.Builder()
.url("https://audream-api.tulingbc.com/v1/notes/{note_id}")
.delete(null)
.addHeader("Authorization", "Bearer <token>")
.build()
val response = client.newCall(request).execute(){
"deleted": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}Notes
Delete a note
Permanently deletes the note and its cached processing data.
DELETE
https://audream-api.tulingbc.com
/
v1
/
notes
/
{note_id}
Delete a note
curl --request DELETE \
--url https://audream-api.tulingbc.com/v1/notes/{note_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://audream-api.tulingbc.com/v1/notes/{note_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://audream-api.tulingbc.com/v1/notes/{note_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import Foundation
let url = URL(string: "https://audream-api.tulingbc.com/v1/notes/{note_id}")!
var request = URLRequest(url: url)
request.httpMethod = "DELETE"
request.timeoutInterval = 10
request.allHTTPHeaderFields = ["Authorization": "Bearer <token>"]
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))val client = OkHttpClient()
val request = Request.Builder()
.url("https://audream-api.tulingbc.com/v1/notes/{note_id}")
.delete(null)
.addHeader("Authorization", "Bearer <token>")
.build()
val response = client.newCall(request).execute(){
"deleted": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}