auth-connection

Dev Org Auth Connections Toggle

POST
Enable or disable an authentication connection for a Dev organization. Currently, only 1 authentication connection can be enabled at a time. When a new authentication connection is enabled, the connection which is currently enabled for the Dev organization is automatically disabled.

Request

This endpoint expects an object.
id
stringRequired
ID of the authentication connection to be toggled.
toggle
enumOptional
Allowed values: disableenable
POST
1curl -X POST https://api.devrev.ai/dev-orgs.auth-connections.toggle \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "id"
6}'