Mist apps
Update a Mist (rename)
Edits a Mist’s display attributes, such as its name. The app’s
repository, database, and deployment are not re-provisioned.
Attaching the app to Fluid surfaces is managed separately, not here.
Returns 409 if the Mist is pending_destroy; restore it first
with POST /api/v202604/mists/{mist_id}/restore.
Requires a company admin token with the mist.create permission.
PATCH
/
api
/
v202604
/
mists
/
{id}
Update a Mist (rename)
curl --request PATCH \
--url https://api.fluid.app/api/v202604/mists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mist": {
"name": "Loyalty rewards (EU)"
}
}
'import requests
url = "https://api.fluid.app/api/v202604/mists/{id}"
payload = { "mist": { "name": "Loyalty rewards (EU)" } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({mist: {name: 'Loyalty rewards (EU)'}})
};
fetch('https://api.fluid.app/api/v202604/mists/{id}', 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/v202604/mists/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'mist' => [
'name' => 'Loyalty rewards (EU)'
]
]),
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/v202604/mists/{id}"
payload := strings.NewReader("{\n \"mist\": {\n \"name\": \"Loyalty rewards (EU)\"\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.fluid.app/api/v202604/mists/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"mist\": {\n \"name\": \"Loyalty rewards (EU)\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/mists/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"mist\": {\n \"name\": \"Loyalty rewards (EU)\"\n }\n}"
response = http.request(request)
puts response.read_body{
"mist": {
"id": "0192f4c1-7a3e-7d52-9b61-3bed85a41c07",
"slug": "3bed85",
"state": "live",
"kind": "next_app",
"name": "Loyalty rewards (EU)",
"public_url": "https://dunder-mifflin-3bed85.mist.fluid.app",
"provisioned_at": "2026-04-14T16:22:41Z",
"scheduled_destroy_at": null,
"template": "rewards-starter",
"created_at": "2026-04-14T16:21:58Z",
"updated_at": "2026-04-21T11:03:17Z"
},
"status": 200,
"meta": {
"request_id": "6f1c2a9e-4b7d-4e8a-9c3f-2d5b8a1e7f40",
"timestamp": "2026-04-21T11:03:17Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
Bearer token authentication. Accepts company admin tokens with
the matching mist.* permission:
mist.viewto list and show Mistsmist.createto create and rename Mistsmist.destroyto delete and restore Mistsmist.codefor deployments and logsmist.env_varsto read and manage environment variables Droplet installation tokens are refused.
Path Parameters
UUID of the company-owned Mist app.
Body
application/json
Show child attributes
Show child attributes
Response
Updated mist
One Mist hosting — the deployed extension with its repo, database, and Vercel project.
Show child attributes
Show child attributes
⌘I
Update a Mist (rename)
curl --request PATCH \
--url https://api.fluid.app/api/v202604/mists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mist": {
"name": "Loyalty rewards (EU)"
}
}
'import requests
url = "https://api.fluid.app/api/v202604/mists/{id}"
payload = { "mist": { "name": "Loyalty rewards (EU)" } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({mist: {name: 'Loyalty rewards (EU)'}})
};
fetch('https://api.fluid.app/api/v202604/mists/{id}', 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/v202604/mists/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'mist' => [
'name' => 'Loyalty rewards (EU)'
]
]),
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/v202604/mists/{id}"
payload := strings.NewReader("{\n \"mist\": {\n \"name\": \"Loyalty rewards (EU)\"\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.fluid.app/api/v202604/mists/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"mist\": {\n \"name\": \"Loyalty rewards (EU)\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/mists/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"mist\": {\n \"name\": \"Loyalty rewards (EU)\"\n }\n}"
response = http.request(request)
puts response.read_body{
"mist": {
"id": "0192f4c1-7a3e-7d52-9b61-3bed85a41c07",
"slug": "3bed85",
"state": "live",
"kind": "next_app",
"name": "Loyalty rewards (EU)",
"public_url": "https://dunder-mifflin-3bed85.mist.fluid.app",
"provisioned_at": "2026-04-14T16:22:41Z",
"scheduled_destroy_at": null,
"template": "rewards-starter",
"created_at": "2026-04-14T16:21:58Z",
"updated_at": "2026-04-21T11:03:17Z"
},
"status": 200,
"meta": {
"request_id": "6f1c2a9e-4b7d-4e8a-9c3f-2d5b8a1e7f40",
"timestamp": "2026-04-21T11:03:17Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"status": 123,
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}