Skip to main content
PUT
/
social-connections
Upsert Social Connection
curl --request PUT \
  --url https://api.wacht.dev/social-connections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "provider": "google",
  "enabled": true,
  "client_id": "<string>",
  "client_secret": "<string>",
  "scopes": [
    "<string>"
  ],
  "redirect_uri": "<string>"
}'
{
  "provider": "google",
  "enabled": true,
  "client_id": "<string>",
  "scopes": [
    "<string>"
  ],
  "redirect_uri": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
provider
enum<string>
Available options:
google,
facebook,
github,
linkedin
enabled
boolean
client_id
string
client_secret
string
scopes
string[]
redirect_uri
string<uri>

Response

provider
enum<string>
Available options:
google,
facebook,
github,
linkedin
enabled
boolean
client_id
string
scopes
string[]
redirect_uri
string<uri>