> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/data-quality-self-hosted/apis/rest/integration-api/integration-toggle.md).

# Integration toggle

![POST /v3/dgc/integrations/connections/{id}/credentials/toggle](https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-1faee67d36c0ef8d4612c9fd9161cf57bec9c80d%2Fdq-integrations-toggle-integration.png?alt=media)

Turns your Collibra Platform instance credentials on and off. If your credentials are set to false, no data flows between Collibra Platform and Data Quality & Observability (self-hosted).

## Request

### Path parameters

Enter your Collibra Platform Id and then click **Execute**.

{% hint style="info" %}
You can execute the GET /v3/dgc/integrations/connections/credentials endpoint to return the details that this parameter requires.
{% endhint %}

The following table describes the path parameter available in Swagger.

| Parameter | Type   | Description                                                                                           | Required                                                                                                                                                                                                                                        |
| --------- | ------ | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id        | string | The Collibra Platform instance Id with which to integrate Data Quality & Observability (self-hosted). | <img src="https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-d06dd40622fc7d030e21f7c0303a90eb28d229fc%2Fok-large%402x.png?alt=media" alt="" data-size="line"> Yes |

## Response examples

{% tabs %}
{% tab title="200" %}
{% hint style="info" %}
A successful request only returns a response header.
{% endhint %}

```
 cache-control: no-cache,no-store,max-age=0,must-revalidate 
 connection: keep-alive 
 content-length: 0 
 date: Wed,17 May 2023 03:21:49 GMT 
 expires: 0 
 keep-alive: timeout=60 
 pragma: no-cache 
 strict-transport-security: max-age=31536000 ; includeSubDomains 
 vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers 
 x-content-type-options: nosniff 
 x-frame-options: SAMEORIGIN 
 x-xss-protection: 1; mode=block 
```

{% endtab %}

{% tab title="500" %}
Error: response status is 500

```
{
  "message": "No value present"
}
```

{% endtab %}
{% endtabs %}
