DELETE
/
sync
/
{name}
/
variant
/
{variant}
cURL
curl --request DELETE \
  --url https://api.nango.dev/sync/{name}/variant/{variant} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "provider_config_key": "<string>",
  "connection_id": "<string>"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

The secret key from your Nango environment.

Path Parameters

name
string
required

The name of the sync

variant
string
required

The name of the variant to delete. Cannot be "base" (protected name).

Body

application/json
provider_config_key
string
required

The integration ID used when creating the connection

connection_id
string
required

The ID of the connection the sync variant belongs to

Response

Successfully deleted the sync variant

success
boolean
required

Indicates if the deletion was successful