Edushade Docs
Oauth

A: Link OAuth Account to Specific User

POST
/users/{user_id}/oauth/link
AuthorizationBearer <token>

In: header

Path Parameters

user_idstring

User ID

Defaultnull
Formatuuid
providerstring

OAuth provider

Defaultnull
codestring
Default"oauth-authorization-code"
statestring
Default"state-parameter"

Response Body

curl -X POST "https://edushade.com/api/v1/users/{user_id}/oauth/link" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "oauth-authorization-code",
    "state": "state-parameter"
  }'
{}
Empty
Empty
Empty