/v1/apps/{app_id}/auth-config/providers/{provider}AuthRemove the config for an (app, provider). Existing identity rows (people who already signed in with this provider) stay; they just lose the ability to sign in again until config is re-uploaded.
Path parameters
app_id*stringId of the app.
provider*stringThe sign-in provider: `apple`, `google`, `github`, `microsoft`, or `oidc-<key>` for an OpenID Connect provider you added (the key is 1 to 32 lowercase letters, digits or hyphens that you choose, for example `oidc-okta`).
Response · 204
Deleted (or already absent).
Example
Request
DELETE https://api.auth.productcraft.co/v1/apps/{app_id}/auth-config/providers/{provider}
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").authConfig.providers.delete("google");auth.admin.app(…).authConfig.providers.delete(provider, options?): void