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

JWT Bearer token authentication using the Authorization header

Body

application/json

Response

Social connection updated successfully

The response is of type object.