MCP Gateway
ApiAuth settings

Delete OAuth provider

Permanently remove an OAuth provider and its encrypted credentials. Requires admin or owner role.

DELETE
/api/v1/settings/auth/providers/{provider_type}

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

Path Parameters

provider_type*string
access_token?|

Response Body

application/json

curl -X DELETE "https://loading/api/v1/settings/auth/providers/string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}