---
title: "Unsubscribes an user from a communication channel"
method: DELETE
path: "/private-data/consent/{channel}"
tags: ["consent"]
---

# Unsubscribes an user from a communication channel

`DELETE /private-data/consent/{channel}`

Requests consent to disable a communication channel (sms, email, agenda, whatsapp) for an user

## Path parameters

- `channel` string, required

## Headers

- `Brand` string, required

## Request body

- SrcPortsRestUnsubscribeChannelBodyInput
  - `cpf_custom_field` string
  - `type` string
  - `value` string

## Response `201`

Created

- HttpMessageResponse
  - `message` string

## Other responses

- `400` — Bad Request

---

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