Remove the app profile
Remove custom branding and restore the shared Smallworld client branding.
DELETE
/api/v1/app-profileconst response = await fetch("https://api.smallworld.sh/api/v1/app-profile", {
method: "DELETE",
headers: { Authorization: `Bearer ${apiKey}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();
Use your server-side apiKey. Replace the example IDs.
Responses#
Returns the resulting default app profile. Existing connections keep their authorization context.
{
"name": null,
"logoUrl": null,
"logoStatus": null,
"logoCheckedAt": null,
"logoError": null,
"logoPreviewUrl": null,
"homepageUrl": null,
"clientName": "Smallworld",
"configured": false
}