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

# Update a specific event

`PUT /events/{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/events/{id}`
- Auth: none declared

Update a specific event

## Path parameters

- `id` string, required

## Request body

- AddEvent
  - `details` string, required: Details of the event
  - `venue_id` string: UUID of the venue
  - `time` string: Time the event is run

## Response `200`

Provider udpated

- Event
  - `id` string: UUID of event
  - `details` string: Details of the event
  - `time` string: Time the event is run
  - `venue_id` string: UUID 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

## 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 `time`
  - added the optional property `time` to the response with the `200` status
- **2018-12-03** `26203c75c23f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/london-borough-of-hackney/apis/lbh-col-directory-of-services-gateway-api/changes/events/: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)
