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

# Convert an Unmanaged Access Code

`POST /access_codes/unmanaged/convert_to_managed`

Converts an [unmanaged access code](/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) to an [access code managed through Seam](/low-level-apis/smart-locks/access-codes).

An unmanaged access code has a limited set of operations that you can perform on it. Once you convert an unmanaged access code to a managed access code, the full set of access code operations and lifecycle events becomes available for it.

Note that not all device providers support converting an unmanaged access code to a managed access code.

## Request body

- object
  - `access_code_id` string, uuid, required — ID of the unmanaged access code that you want to convert to a managed access code.
  - `allow_external_modification` boolean — Indicates whether [external modification](/low-level-apis/smart-locks/access-codes#external-modification) of the access code is allowed.
  - `force` boolean — Indicates whether to force the access code conversion. To switch management of an access code from one Seam workspace to another, set `force` to `true`.
  - `is_external_modification_allowed` boolean — Indicates whether [external modification](/low-level-apis/smart-locks/access-codes#external-modification) of the access code is allowed.

## 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)
