Create or update a social connection configuration
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>"
}
JWT Bearer token authentication using the Authorization header
Social connection updated successfully
The response is of type object
.
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>"
}