dots.v2.harnessRuntime.auth.byProvider().connections.byConnection_id().reconnect.post()
Generated on 25 Nov 2026
from DoTs version
v1.27.0
Usage
client.v2.harnessRuntime.auth.byProvider(provider).connections.byConnection_id(connection_id).reconnect.post(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Provider_connection_response>Description
Resumes a pending connection’s authorization, or starts a new one for an expired or revoked connection. The connection keeps its id, user_id, and scopes, so environments that use it keep working once it is active again. An active connection is returned unchanged. Only the member who owns the connection can reconnect it; for anyone else the response is 404, the same as for an unknown connection. The response includes authorization while the interactive step is outstanding. No token is returned.
Parameters
providerstring requiredExample:
githubProvider key.
githubis the provider served today.connection_idstring requiredExample:
3f2a1b0c-9d8e-7f6a-5b4c-3d2e1f0a9b8cThe connection id.
Request Sample
Response Example
More Information
See /v2/harness-runtime/auth/{provider}/connections/{connection_id}/reconnect in the API reference for additional detail on responses, headers, parameters, and more.