---
title: "Update predefined location"
method: PUT
path: "/configuration/predefined-locations/{id}"
tags: ["predefined-locations"]
---

# Update predefined location

`PUT /configuration/predefined-locations/{id}`

Updates predefined location by id

## Path parameters

- `id` string, uuid, required

## Request body

- PredefinedLocationRequest
  - `city` string, required — Not blank. No leading and trailing spaces allowed.
  - `countryCode` string, required — ISO-3166-1 alpha-2 country code
  - `region` string
  - `regionAbbr` string — Not blank. No leading and trailing spaces allowed. Region abbreviation, if applicable. E.g. Utah -> UT.
  - `address` string — Not blank. No leading and trailing spaces allowed.
  - `postalCode` string — Not blank. No leading and trailing spaces allowed.
  - `lat` number — Decimal latitude value
  - `lng` number — Decimal longitude value
  - `title` string — User managed Title. If present, value must not be blank and must be unique within the company (case insensitive).
  - `identifier` string — Only alphanumerical characters, dashes, hashes and underscores are allowed. User managed Identifier. If present, value must not be blank and must be unique within the company (case sensitive).

## Response `200`

Predefined location successfully updated

- PredefinedLocation
  - `id` string, uuid
  - `country` string
  - `region` string
  - `regionAbbr` string
  - `countryCode` string
  - `city` string
  - `address` string
  - `postalCode` string
  - `title` string
  - `identifier` string
  - `lat` number
  - `lng` number

## Other responses

- `400` — Invalid request
- `404` — Predefined location not found
- `422` — Cannot update predefined location for the following reason: - TITLE_ALREADY_EXISTS - The title is already used for another predefined location - IDENTIFIER_ALREADY_EXISTS - The identifier is already used for another predefined location

---

[API](https://skmtc.net/smartrecruiters/apis/apply-api.md) · [All operations](https://skmtc.net/smartrecruiters/apis/apply-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartrecruiters/apply-api/revisions/449bdc2516c9/schema)
