curl --request PUT \
--url https://api.pxyz.dev/api/v0/auth/social-providers/{id} \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"useCustomCredentials": true,
"clientId": "<string>",
"clientSecret": "<string>",
"redirectUri": "<string>",
"additionalScopes": "<any>",
"authenticatable": true,
"autoConnectAccounts": true,
"config": "<any>"
}'
{
"id": "<string>",
"tenantId": "<string>",
"providerKey": "google",
"enabled": true,
"useCustomCredentials": true,
"clientId": "<string>",
"redirectUri": "<string>",
"additionalScopes": "<any>",
"authenticatable": true,
"autoConnectAccounts": true,
"config": "<any>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --request PUT \
--url https://api.pxyz.dev/api/v0/auth/social-providers/{id} \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"useCustomCredentials": true,
"clientId": "<string>",
"clientSecret": "<string>",
"redirectUri": "<string>",
"additionalScopes": "<any>",
"authenticatable": true,
"autoConnectAccounts": true,
"config": "<any>"
}'
{
"id": "<string>",
"tenantId": "<string>",
"providerKey": "google",
"enabled": true,
"useCustomCredentials": true,
"clientId": "<string>",
"redirectUri": "<string>",
"additionalScopes": "<any>",
"authenticatable": true,
"autoConnectAccounts": true,
"config": "<any>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Successful response
The response is of type object
.