Api\HiveController

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

put/api/hives/{id}

Headers

Authorizationstring
Content-Typestring
Acceptstring

Request body

namestring required
location_idinteger required
hive_type_idinteger

Example request

{
  "name": "omnis",
  "location_id": 15,
  "hive_type_id": 6,
  "queen": {
    "race_id": 11,
    "created_at": "2022-06-10T11:33:54",
    "name": "beatae"
  }
}

Changes