Delete FBO Account Address
curl --request DELETE \
--url https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}', 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.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyFBO Account Addresses
Delete FBO Account Address
Deactivate an FBO account address
DELETE
/
fbo-accounts
/
{id}
/
addresses
/
{addressId}
Delete FBO Account Address
curl --request DELETE \
--url https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}', 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.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beachdepository.com/v1/fbo-accounts/{id}/addresses/{addressId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyRetires an address on an FBO account by marking it inactive (
isActive: false). The address is not erased, so past shipments that used it stay intact. It is returned by List FBO Account Addresses with isActive: false.
Permission: fbo_accounts:update
Path parameters
string
required
The FBO account ID
string
required
The address ID
Response
Returns the deactivated address.{
"data": {
"id": "ja7addr123",
"fboAccountId": "m97fbo456",
"type": "return",
"street": "123 Main St",
"city": "Dallas",
"state": "TX",
"zip": "75001",
"country": "US",
"isActive": false,
"updatedAt": 1709654321000,
"createdAt": "2025-03-01T12:00:00Z"
}
}
Deactivating an address that is already inactive is a no-op and still returns
200 with the
address.⌘I