---
title: "Configure Auto-Lock"
method: POST
path: "/locks/configure_auto_lock"
tags: ["/locks"]
---

# Configure Auto-Lock

`POST /locks/configure_auto_lock`

Configures the auto-lock setting for a specified [lock](/low-level-apis/smart-locks).

## Request body

- object
  - `auto_lock_delay_seconds` number, float — Delay in seconds before the lock automatically locks. Required when enabling auto-lock. Must be between 1 and 60.
  - `auto_lock_enabled` boolean, required — Whether to enable or disable auto-lock.
  - `device_id` string, uuid, required — ID of the lock for which you want to configure the auto-lock.

## Response `200`

OK

- object
  - `action_attempt` object, required — Tracks the progress of this operation. Poll using the action_attempt_id. See the [action_attempt object](/api/action_attempts/object).
    - `action_attempt_id` string, uuid, required — ID of the action attempt.
    - `action_type` 'CONFIGURE_AUTO_LOCK', required — Type of action being tracked.
    - `status` 'pending' | 'success' | 'error', required — Current status of the action.
    - `result` object, nullable — Result payload on success.
    - `error` object, nullable — Error details on failure.
      - `type` string
      - `message` string

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