SynqDocs
Management APISign-in providers

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`.

DELETE/v1/orgs/{org}/brands/{brand}/sign-in-providers/{provider}/scopes

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.

Authorization

bearer
AuthorizationBearer <token>

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

org*string

The org's id

Match^org_[0-9a-hjkmnp-tv-z]{26}$
brand*string

The brand's id

Match^brd_[0-9a-hjkmnp-tv-z]{26}$
provider*string

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"      }    ]  }}