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

# Update a specific contact

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

Update a specific contact

## Path parameters

- `id` string, required

## Request body

- AddContact
  - `url` string, required: Url of the contact
  - `email` string: Email address of the contact
  - `name` string, required: Name of the contact
  - `position` string: Position of the contact
  - `social_facebook` string: Link to facebook profile
  - `social_twitter` string: Link to twitter profile
  - `phonenumber` string: Phone number of the contact

## Response `200`

Provider udpated

- Contact
  - `id` string: UUID of contact
  - `url` string: Url of the contact
  - `email` string: Email address of the contact
  - `name` string: Name of the contact
  - `position` string: Position of the contact
  - `social_facebook` string: Link to facebook profile
  - `social_twitter` string: Link to twitter profile
  - `phonenumber` string: Phone number of the contact
  - `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`: 6 info
  - added the new optional request property `position`
  - added the new optional request property `social_facebook`
  - added the new optional request property `social_twitter`
  - added the optional property `position` to the response with the `200` status
  - …2 more
- **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 `id`
- **2018-12-03** `c89fb1b8d8fe`: 1 info
  - endpoint added

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