---
title: "Update a facility"
method: PATCH
path: "/v1/facilities/{id}"
tags: ["Facilities"]
---

# Update a facility

`PATCH /v1/facilities/{id}`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/facilities/{id}`
- Auth: API key in header `X-User-Token`

## Request body

- object
  - `facility` object
    - `name` string
    - `partner_id` integer
    - `operator_name` string
    - `operator_phonenumber` string
    - `address` string
    - `city` string
    - `state` string
    - `country_id` integer
    - `pincode` string
    - `geo` object
    - `icon_s3_path` string

## Response `200`

Facility updated

- object

## Other responses

- `422`: Unprocessable entity

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
