---
title: "api/hives/{id} PATCH Update the specified user Hive in storage."
method: PUT
path: "/api/hives/{id}"
tags: ["Api\\HiveController"]
---

# api/hives/{id} PATCH Update the specified user Hive in storage.

`PUT /api/hives/{id}`

## Headers

- `Authorization` string
- `Content-Type` string
- `Accept` string

## Request body

- object
  - `name` string, required
  - `location_id` integer, required
  - `hive_type_id` integer
  - `queen` object
    - `race_id` integer
    - `created_at` string — value is geen geldige datum.
    - `name` string

## Changes

- **2022-06-10** `568ca15f3476` — 20 warning, 1 info
  - deleted the `header` request parameter `Accept-language`
  - removed the request property `bb_depth_cm`
  - removed the request property `bb_height_cm`
  - removed the request property `bb_width_cm`
  - …17 more

[Change history](https://skmtc.dev/beepnl/apis/beep/changes/api/hives/:id/put.md)

---

[API](https://skmtc.dev/beepnl/apis/beep.md) · [All operations](https://skmtc.dev/beepnl/apis/beep/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beepnl/beep/revisions/568ca15f3476/schema)
