---
title: "Cancelar agendamento"
method: PATCH
path: "/v1/agendamentos/{agendamentoId}/status/cancelado"
tags: ["Agendamentos"]
---

# Cancelar agendamento

`PATCH /v1/agendamentos/{agendamentoId}/status/cancelado`

Cancela um agendamento

## Path parameters

- `agendamentoId` integer, required

## Headers

- `estabelecimentoId` string, required

## Request body

- CancelarAgendamentoModel
  - `quemCancelou` integer, required
  - `motivo` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `422` — Client Error
- `default` — Error

---

[API](https://skmtc.net/trinks/apis/trinks-api.md) · [All operations](https://skmtc.net/trinks/apis/trinks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trinks/trinks-api/versions/1b5b1e3825ef/schema)
