Remove one of a brand’s default avatars
The people who had it each get another of the set; everyone else keeps theirs. Needs `org.brands.edit`, on any plan: a set kept on a plan without `branding.default_avatars` can still be pruned. Recorded as `brand.updated`.
/v1/orgs/{org}/brands/{brand}/theme/default-avatars/{file}The people who had it each get another of the set; everyone else keeps theirs. Needs org.brands.edit, on any plan: a set kept on a plan without branding.default_avatars can still be pruned. Recorded as brand.updated.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
The org's id
^org_[0-9a-hjkmnp-tv-z]{26}$The brand's id
^brd_[0-9a-hjkmnp-tv-z]{26}$The default avatar's file
^fil_[0-9a-hjkmnp-tv-z]{26}$Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/brands/brd_01h455vb4pex5vsknk084sn02q/theme/default-avatars/fil_01h455vb4pex5vsknk084sn02q" \ -H "Authorization: Bearer $SYNQ_API_KEY"{ "font": "humanist", "surface_color": "#ffffff", "glow_color": "#3c1253", "button_style": "pill", "card_radius": 0, "card_shadow": "none", "heading": "string", "heading_font": "rubik", "heading_case": "upper", "muted_color": "#b8a5c9", "background_image_url": "https://app.acme.example", "background_blur": 0, "powered_by": true, "powered_by_choice": null, "powered_by_default": true, "default_avatar_style": "aura", "default_avatars": [ { "file_id": "fil_01h455vb4pex5vsknk084sn02q", "url": "https://app.acme.example" } ], "not_shown": []}Replace the app one of a brand's own sign-in providers signs in through PUT
A new client id and secret at the provider, asked first as making it does, so nothing it refuses is kept (422 `connection_rejected`, 503 while it can't be reached). The app must register the provider's `redirect_uri`. Needs `org.connections.edit` and a plan with `auth.custom_providers`, Scale and up (403 `plan_feature_unavailable`). A person needs a sign-in at Synq from the last 5 minutes whose time Synq proved (send them to sign in with `max_age=300`), else 403 `fresh_sign_in_required`; an API key never does. Recorded as `brand.updated` with `app_replaced`, naming its client id, never the secret.
A webhook's deliveries GET
Newest first, with their status, attempts and last answer. Needs `org.webhooks.view`.