getOAuth2UrlForLinking

GET https://{{host}}/api/v1/self/oauth/:provider?forward=<string>

Request Params

KeyDatatypeRequiredDescription
forwardstringOptional (ex http://manage.mist.com/oauth/callback.html)

RESPONSES

status: OK

{&quot;linked&quot;:false,&quot;authorization_url&quot;:&quot;https://accounts.google.com/o/oauth2/v2/auth?.....&quot;}