---
title: "Изменение данных по стояку дома"
method: PATCH
path: "/homes/{home_id}/pipes/{pipe_id}"
tags: ["Address"]
---

# Изменение данных по стояку дома

`PATCH /homes/{home_id}/pipes/{pipe_id}`

Pipes/PipeController ( privileges: Pipe - U1 )

## Request body

- object
  - `data` IPipe
    - `homeId` integer
    - `id` integer
    - `nom` string
    - `utilityId` integer
    - `utilityName` string
    - `note` string
    - `flats` IFlatInfo — Выводим данные о квартире
      - `id` integer
      - `num` string
      - `floor` integer
      - `addressId` integer
      - `entranceId` integer
      - `homeId` integer
      - `entranceNumber` integer

## Response `200`

Oк

- object
  - `data` IPipe
    - `homeId` integer
    - `id` integer
    - `nom` string
    - `utilityId` integer
    - `utilityName` string
    - `note` string
    - `flats` IFlatInfo — Выводим данные о квартире
      - `id` integer
      - `num` string
      - `floor` integer
      - `addressId` integer
      - `entranceId` integer
      - `homeId` integer
      - `entranceNumber` integer

## Other responses

- `401` — пользователь не идентифицирован
- `403` — Недостаточно прав доступа
- `422` — нет содержимого или не хватаем входных параметров

---

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