Delete an uploaded icon
Delete one of your own uploaded icons. Built-in icons cannot be deleted, and an icon currently used by a button cannot be removed. Requires a write-scoped key.
Authorization
bearerAuth Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Path Parameters
The icon filename to delete.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/admin/icons/string"{ "detail": { "code": "icon_builtin", "message": "Встроенная иконка не может быть удалена" }}{ "detail": "auth required"}{ "detail": { "code": "icon_not_found", "message": "Иконка не найдена" }}{ "detail": { "code": "icon_in_use", "message": "Иконка используется в одной из кнопок (draft или published)" }}Generate an icon with AI
Draws a new button icon with AI in the house style — white on a transparent background, visually matching the built-in library — and saves it to your private icon library, ready to use on any button. `prompt` describes the concept in any language; `style` picks line (stroke) or solid (filled glyph). Rate limit: 6 generations per minute. Requires a write-scoped key.
Import a link-in-bio page
Fetch an external link-in-bio URL and return an editable preview of its profile, mapped buttons, and headers. Rate-limited per account and per target domain. Requires a write-scoped key.