Connections
Disconnect a provider
Delete the connection. Refused with 409 PROVIDER_CONNECTION_IN_USE while a run is active.
Authorization
Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.
Path parameters
idstringrequiredResponses
204Successful Response
401application/jsonUNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.
UNAUTHENTICATED403application/jsonCSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.
CSRF_ORIGIN_MISMATCH404application/jsonPROVIDER_CONNECTION_NOT_FOUND: no connection with this id belongs to the signed-in user.
PROVIDER_CONNECTION_NOT_FOUND409application/jsonPROVIDER_CONNECTION_IN_USE: the user has a run in status accepted, launching, running, or cancel_requested; cancel it and wait until the poll confirms a terminal status.
PROVIDER_CONNECTION_IN_USE429application/jsonRATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.
RATE_LIMITED500application/jsonUnexpected failure: INTERNAL_ERROR.
INTERNAL_ERROR502application/jsonAUTH_PROVIDER_REJECTED: the provider refused the request (not retryable).
AUTH_PROVIDER_REJECTED503application/jsonAUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).
AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLEMCP tool
disconnect_provider: Remove a provider connection and its credentials. PROVIDER_CONNECTION_IN_USE while a run is still active: cancel it and wait. Free.