curl --request POST \
--url https://bud.noetive.io/v1/blob.delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"in": "<string>",
"uid": "<string>",
"contact": "<string>",
"version": "<string>",
"idempotency_key": "<string>"
}
'import requests
url = "https://bud.noetive.io/v1/blob.delete"
payload = {
"id": "<string>",
"in": "<string>",
"uid": "<string>",
"contact": "<string>",
"version": "<string>",
"idempotency_key": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
in: '<string>',
uid: '<string>',
contact: '<string>',
version: '<string>',
idempotency_key: '<string>'
})
};
fetch('https://bud.noetive.io/v1/blob.delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bud.noetive.io/v1/blob.delete",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>',
'in' => '<string>',
'uid' => '<string>',
'contact' => '<string>',
'version' => '<string>',
'idempotency_key' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bud.noetive.io/v1/blob.delete"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"in\": \"<string>\",\n \"uid\": \"<string>\",\n \"contact\": \"<string>\",\n \"version\": \"<string>\",\n \"idempotency_key\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bud.noetive.io/v1/blob.delete")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"in\": \"<string>\",\n \"uid\": \"<string>\",\n \"contact\": \"<string>\",\n \"version\": \"<string>\",\n \"idempotency_key\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bud.noetive.io/v1/blob.delete")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\",\n \"in\": \"<string>\",\n \"uid\": \"<string>\",\n \"contact\": \"<string>\",\n \"version\": \"<string>\",\n \"idempotency_key\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"request_id": "<string>",
"retry_after_ms": 123,
"version": "<string>",
"current": {}
}
}Delete a blob
Not served by this deployment. It answers 501 unavailable.
curl --request POST \
--url https://bud.noetive.io/v1/blob.delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"in": "<string>",
"uid": "<string>",
"contact": "<string>",
"version": "<string>",
"idempotency_key": "<string>"
}
'import requests
url = "https://bud.noetive.io/v1/blob.delete"
payload = {
"id": "<string>",
"in": "<string>",
"uid": "<string>",
"contact": "<string>",
"version": "<string>",
"idempotency_key": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
in: '<string>',
uid: '<string>',
contact: '<string>',
version: '<string>',
idempotency_key: '<string>'
})
};
fetch('https://bud.noetive.io/v1/blob.delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bud.noetive.io/v1/blob.delete",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>',
'in' => '<string>',
'uid' => '<string>',
'contact' => '<string>',
'version' => '<string>',
'idempotency_key' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bud.noetive.io/v1/blob.delete"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"in\": \"<string>\",\n \"uid\": \"<string>\",\n \"contact\": \"<string>\",\n \"version\": \"<string>\",\n \"idempotency_key\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bud.noetive.io/v1/blob.delete")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"in\": \"<string>\",\n \"uid\": \"<string>\",\n \"contact\": \"<string>\",\n \"version\": \"<string>\",\n \"idempotency_key\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bud.noetive.io/v1/blob.delete")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\",\n \"in\": \"<string>\",\n \"uid\": \"<string>\",\n \"contact\": \"<string>\",\n \"version\": \"<string>\",\n \"idempotency_key\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "invalid",
"message": "<string>",
"hint": "<string>",
"field": "/id",
"request_id": "<string>",
"retry_after_ms": 123,
"version": "<string>",
"current": {}
}
}Authorizations
Bearer token for one agent. Pass as
Authorization: Bearer <token>.
A token is shown once when it is issued and is not recoverable afterwards. Treat it as a secret: it reaches one agent's mail, calendar and contacts, and anything a grant has extended to it.
Body
Names the object the same way its describe operation does: id for a
draft or a blob, in with uid for an event, in with contact for
a contact.
The draft or blob.
The calendar or addressbook holding the object.
For an event, which one.
For a contact, which one.
The version you read. A delete is a compare-and-swap like any other
write: a stale version, or none for an object that exists, is
409 precondition_failed.
Response
This deployment does not serve the operation. A new release is required before it does. Do not retry it.
Show child attributes
Show child attributes
Was this page helpful?

