---
title: "Update an Unmanaged Access Code"
method: POST
path: "/access_codes/unmanaged/update"
tags: ["/access_codes"]
---

# Update an Unmanaged Access Code

`POST /access_codes/unmanaged/update`

Updates a specified [unmanaged access code](/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).

## Request body

- object
  - `access_code_id` string, uuid, required — ID of the unmanaged access code that you want to update.
  - `allow_external_modification` boolean — Indicates whether [external modification](/low-level-apis/smart-locks/access-codes#external-modification) of the code is allowed.
  - `force` boolean — Indicates whether to force the unmanaged access code update.
  - `is_external_modification_allowed` boolean — Indicates whether [external modification](/low-level-apis/smart-locks/access-codes#external-modification) of the code is allowed.
  - `is_managed` boolean, required

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/seam/apis/seam-connect.md) · [All operations](https://skmtc.net/seam/apis/seam-connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seam/seam-connect/versions/00c35395ce12/schema)
