Installations
Update a droplet installation
Change one of your company’s droplet installations: its scopes, its role_id, or whether it is active. active is required on every call. Sending active: false on an active installation starts uninstalling it, and it cannot be reactivated afterwards. Sending active: true changes nothing about its state, so send it when you only want to edit scopes or role.
Call it with a company admin’s Bearer token, or a company API or partner token, that has the droplets.update permission. Other callers get 401.
PUT
/
api
/
droplet_installations
/
{uuid}
Update a droplet installation
curl --request PUT \
--url https://api.fluid.app/api/droplet_installations/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"droplet_installation": {
"active": true,
"scopes": [
"orders",
"products",
"members"
]
}
}
'import requests
url = "https://api.fluid.app/api/droplet_installations/{uuid}"
payload = { "droplet_installation": {
"active": True,
"scopes": ["orders", "products", "members"]
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
droplet_installation: {active: true, scopes: ['orders', 'products', 'members']}
})
};
fetch('https://api.fluid.app/api/droplet_installations/{uuid}', 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.fluid.app/api/droplet_installations/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'droplet_installation' => [
'active' => true,
'scopes' => [
'orders',
'products',
'members'
]
]
]),
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://api.fluid.app/api/droplet_installations/{uuid}"
payload := strings.NewReader("{\n \"droplet_installation\": {\n \"active\": true,\n \"scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ]\n }\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.fluid.app/api/droplet_installations/{uuid}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"droplet_installation\": {\n \"active\": true,\n \"scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/droplet_installations/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"droplet_installation\": {\n \"active\": true,\n \"scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"droplet_installation": {
"uuid": "dri_9Hc3LmQ7vT2xNp5KwB8rYf4ZjD6sAg1Ue",
"id": 48213,
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"droplet_name": "Middle-Out Order Analytics",
"active": true,
"scopes": [
"orders",
"products",
"members"
],
"effective_scopes": [
"orders",
"products",
"members"
],
"updated_at": "2026-09-21T10:04:37Z"
},
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"message": "<string>"
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
Bearer token authentication
Path Parameters
The UUID of the droplet installation
Body
application/json
Show child attributes
Show child attributes
⌘I
Update a droplet installation
curl --request PUT \
--url https://api.fluid.app/api/droplet_installations/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"droplet_installation": {
"active": true,
"scopes": [
"orders",
"products",
"members"
]
}
}
'import requests
url = "https://api.fluid.app/api/droplet_installations/{uuid}"
payload = { "droplet_installation": {
"active": True,
"scopes": ["orders", "products", "members"]
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
droplet_installation: {active: true, scopes: ['orders', 'products', 'members']}
})
};
fetch('https://api.fluid.app/api/droplet_installations/{uuid}', 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.fluid.app/api/droplet_installations/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'droplet_installation' => [
'active' => true,
'scopes' => [
'orders',
'products',
'members'
]
]
]),
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://api.fluid.app/api/droplet_installations/{uuid}"
payload := strings.NewReader("{\n \"droplet_installation\": {\n \"active\": true,\n \"scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ]\n }\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.fluid.app/api/droplet_installations/{uuid}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"droplet_installation\": {\n \"active\": true,\n \"scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/droplet_installations/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"droplet_installation\": {\n \"active\": true,\n \"scopes\": [\n \"orders\",\n \"products\",\n \"members\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"droplet_installation": {
"uuid": "dri_9Hc3LmQ7vT2xNp5KwB8rYf4ZjD6sAg1Ue",
"id": 48213,
"droplet_uuid": "drp_4Tq8nXw2KfL9mRv3BpZ6cYh1JdS7aGe5u",
"droplet_name": "Middle-Out Order Analytics",
"active": true,
"scopes": [
"orders",
"products",
"members"
],
"effective_scopes": [
"orders",
"products",
"members"
],
"updated_at": "2026-09-21T10:04:37Z"
},
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"message": "<string>"
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}