Update an office

This endpoint lets you update existing offices for a given id.

This endpoint requires offices_rw scope.

office update

PUT https://www.welcomekit.co/api/v1/external/offices/:id

Path Parameters

Query Parameters

{
  "id": 42,
  "name": "France",
  "address": "11 bis rue Bachaumont",
  "zip_code": "75002",
  "city": "Paris",
  "country_code": "FR",
  "is_headquarter": true
}

Request example

curl -X PUT "https://www.welcomekit.co/api/v1/external/offices/:id" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer WK_API_KEY" \
    -d @- <<EOF
{
  "name": "France"
}
EOF

Last updated