---
title: "Update block status"
method: POST
path: "/message/updateBlockStatus/{instance}"
tags: ["Chat Controller"]
---

# Update block status

`POST /message/updateBlockStatus/{instance}`

## Request

- Base URL: `https://evolution-example`
- URL: `https://evolution-example/message/updateBlockStatus/{instance}`
- Auth: API key in header `apikey`

Block status to contacts

## Path parameters

- `instance` string, required

## Request body

- object
  - `number` string, required: Phone number with country code
  - `status` string, required: Values: block, unblock

## Response `201`

Created

## Changes

- **2024-11-25** (v2) `669c21c8934b`: 1 info
  - endpoint added
- **2024-11-25** (v2) `c153448703e5`: 1 breaking
  - api path removed without deprecation
- **2024-09-09** (v2) `0c4620ca5ed5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/changes/message/updateBlockStatus/:instance/post.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/evolution-api-3.md) - [All operations](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/revisions/153363ee7f38?raw)
