PUT
/
config
curl --request PUT \
  --url https://api.nango.dev/config \
  --header 'Content-Type: application/json' \
  --data '{
  "provider_config_key": "<string>",
  "provider": "<string>",
  "oauth_client_id": "<string>",
  "oauth_client_secret": "<string>",
  "oauth_scopes": "<string>"
}'
{
  "config": {
    "unique_key": "slack-nango-community",
    "provider": "slack"
  }
}

Only integrations using OAuth 1 & 2 can be updated, not integrations using API keys & Basic auth (because there is nothing to update for them).

{
  "config": {
    "unique_key": "slack-nango-community",
    "provider": "slack"
  }
}

Body

application/json
provider_config_key
string
required

The integration ID that you created on Nango.

provider
string
required

The Nango API Configuration.

oauth_client_id
string
required

The ID of your OAuth app (registed with the external API).

oauth_client_secret
string
required

The secret of your OAuth app (registed with the external API).

oauth_scopes
string

Comma separated list of scopes.

Response

200
application/json
Successfully edit an integration
config
object
required