---
title: "Update a specific venue"
method: PUT
path: "/venues/{id}"
tags: ["venues"]
---

# Update a specific venue

`PUT /venues/{id}`

## Request

- Base URL: `https://virtserver.swaggerhub.com/LBHC/lbh-co_l_directory_of_services_gateway_api/1.0.1`
- URL: `https://virtserver.swaggerhub.com/LBHC/lbh-co_l_directory_of_services_gateway_api/1.0.1/venues/{id}`
- Auth: none declared

Update a specific venue

## Path parameters

- `id` string, required

## Request body

- AddVenue
  - `provider_id` string: UUID of the provider
  - `name` string, required: Name of the venue
  - `address` string, required: Address of the venue
  - `details` string: Details of the venue

## Response `200`

Provider udpated

- Venue
  - `id` string: UUID of venue
  - `service_id` string: UUID of the provider
  - `provider_id` string: UUID of the provider
  - `name` string: Name of the venue
  - `address` string: Address of the venue
  - `details` string: Details of the venue
  - `created` string, date-time: The date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
  - `updated` string, date-time: The date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
  - `flagged` boolean: Should this content be reivewed?

## Changes

- **2018-12-05** `5ec941f0459f`: 2 info
  - added the optional property `created` to the response with the `200` status
  - added the optional property `updated` to the response with the `200` status
- **2018-12-04** `3344049bad1d`: 2 info
  - added the new optional request property `details`
  - added the optional property `details` to the response with the `200` status
- **2018-12-03** `eb3e6b40700e`: 1 info
  - added the optional property `flagged` to the response with the `200` status
- **2018-12-03** `a12bc5936b8e`: 1 warning
  - removed the request property `service_id`
- **2018-12-03** `c102a60560e8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/london-borough-of-hackney/apis/lbh-col-directory-of-services-gateway-api/changes/venues/:id/put.md)

---

[API](https://skmtc.dev/london-borough-of-hackney/apis/lbh-col-directory-of-services-gateway-api.md) - [All operations](https://skmtc.dev/london-borough-of-hackney/apis/lbh-col-directory-of-services-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/london-borough-of-hackney/apis/lbh-col-directory-of-services-gateway-api/revisions/eb9745a84cde?raw)
