---
title: "Disable the datalayer sync for a connection"
method: POST
path: "/consumers/{consumer_id}/connections/{connection_id}/disable_datalayer"
tags: ["Datalayer"]
---

# Disable the datalayer sync for a connection

`POST /consumers/{consumer_id}/connections/{connection_id}/disable_datalayer`

Disables the datalayer sync for the consumer's connection so it stops refreshing. Requires the datalayer to be configured for the connection's vertical.

## Path parameters

- `consumer_id` string, uuid, required
- `connection_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.dev/chift/apis/chift-api.md) · [All operations](https://skmtc.dev/chift/apis/chift-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chift/chift-api/revisions/b5f1214a482a/schema)
