Disable a platform plugin.
curl --request PUT \ --url https://auth.example.com/api/admin/platform/plugins/example/disable \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tenant_id": "default" }'Stores the platform plugin enabled flag as false in KV and invalidates runtime plugin caches. Missing plugins return not found. For a built-in human verification provider the tenants are checked first (see 409 and 503); the same concurrency limit as the tenant disable applies.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body required
Section titled “Request Body required ”object
Example
{ "tenant_id": "default"}Responses
Section titled “ Responses ”Plugin enable or disable response.
object
object
Example
{ "success": true, "configSource": "kv", "provisioning": { "state": "pending", "kind": "provisioning" }}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}A built-in human verification (CAPTCHA) provider cannot be disabled platform-wide while tenants that inherit it require it for a flow (error: human_verification_provider_in_use, with tenants listing the first 20 and tenant_count), or when there are more than 200 tenants to check (error: human_verification_scope_too_large; disable it per tenant).
object
object
Example
{ "error": "human_verification_provider_in_use"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}The tenants could not be checked, so a human verification provider was not disabled. reason: tenant_directory_unavailable means no tenant list is configured in this environment; retrying does not help, disable the provider per tenant instead. reason: settings_unavailable is a failed read; try again.
object
Example
{ "error": "temporarily_unavailable", "reason": "tenant_directory_unavailable"}