Skip to the documentation
API

Remove a brand image

Removes one brand image and deletes the stored file, so the default shows in its place, and returns the brand.

DELETE/branding/images/{variant}

Runs the real call on your workspace.

DELETE /branding/images/{variant}

Removes one brand image and deletes the stored file, so the default shows in its place, and returns the brand.

Example

Needs settings:write and a key with no address or domain restriction.

curl
curl -X DELETE "$OE/branding/images/wordmark-dark" -H "$AUTH"
Response
{  "object": "branding",  "editable": true,  "images": {    "mark": "https://cdn-prod.openemail.uk/workspaces/icons/0199a1c2-7d4e-7a31-9b52-3c8e1f0a6d24.webp",    "wordmark": "https://cdn-prod.openemail.uk/workspaces/wordmarks/0199a1c2-8b10-7e45-a2f1-6d9c3b7e0f58.webp",    "wordmarkDark": null,    "loginBackground": null  },  "fonts": {    "primary": "inter",    "secondary": "georgia"  },  "loginBackground": {    "kind": "preset",    "preset": "dusk",    "color": null,    "logo": null  }}

Removing the sign-in photo while the sign-in page shows it switches the page back to the preset or colour chosen before it, or to the default.

Removing an image that is not set changes nothing, so a repeated call is safe.

Reference