Clear a brand's own extra scopes at a sign-in provider
The brand goes back to the org's extra scopes there, or Synq's minimum alone where the org keeps none. Needs `org.brands.edit`. Recorded as `brand.updated`, naming `sign_in_providers.<provider>.scopes`.
/v1/orgs/{org}/brands/{brand}/sign-in-providers/{provider}/scopesThe brand goes back to the org's extra scopes there, or Synq's minimum alone where the org keeps none. Needs org.brands.edit. Recorded as brand.updated, naming sign_in_providers.<provider>.scopes.
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 sign-in provider
Value in
- "google"
- "github"
- "microsoft"
- "apple"
- "facebook"
- "x"
- "discord"
- "telegram"
- "matrica"
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/sign-in-providers/google/scopes" \ -H "Authorization: Bearer $SYNQ_API_KEY"{ "provider": "google", "link_by_email": true, "hosted_domain": "acme.example", "microsoft_tenant": "organizations", "use": "sign_in", "keep_tokens": true, "kept_claims": [ "locale" ], "app": { "client_id": "app_01h455vb4pex5vsknk084sn02q", "app_type": "oauth_app", "redirect_uri": "https://acme.auth.synq.build/federation/google/callback", "updated_at": "2026-10-21T12:00:00.000Z" }, "signs_in_through": "brand", "redirect_uri": "https://acme.auth.synq.build/federation/google/callback", "offered": true, "synq_app": true, "scopes": { "minimum": [ "openid", "profile" ], "extra": [ "phone", "telegram:bot_access" ], "source": "org", "asked": [ "openid", "profile", "phone", "telegram:bot_access" ], "inactive": [ { "scope": "telegram:bot_access", "reason": "scope_needs_own_app" } ] }}Forget a brand’s own app at a sign-in provider DELETE
The brand signs in through the org’s app, else Synq’s. Recorded as `org.updated` (or `brand.updated`). Needs `org.connections.edit`.
Forget the org’s own app at a sign-in provider DELETE
The brand signs in through the org’s app, else Synq’s. Recorded as `org.updated` (or `brand.updated`). Needs `org.connections.edit`.