Remove a guest from an appointment
curl --request DELETE \
--url https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}import requests
url = "https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}', 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://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_bodyAppointments
Remove a guest from an appointment
Removes a guest from an appointment and (by default) notifies them of the removal.
DELETE
/
storefront
/
appointments
/
{appointmentId}
/
guests
/
{guestId}
Remove a guest from an appointment
curl --request DELETE \
--url https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}import requests
url = "https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}', 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://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opencals.com/storefront/appointments/{appointmentId}/guests/{guestId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_bodyLast modified on July 26, 2026
Was this page helpful?
⌘I