{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "CONFIGURE_AUTO_LOCK",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Locks
Configure Auto-Lock
Configures the auto-lock setting for a specified lock.
POST
/
locks
/
configure_auto_lock
{
"action_attempt": {
"action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action_type": "CONFIGURE_AUTO_LOCK",
"status": "pending",
"result": {},
"error": {
"type": "<string>",
"message": "<string>"
}
}
}Authorizations
client_sessionpat_with_workspaceconsole_session_with_workspaceapi_key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Whether to enable or disable auto-lock.
ID of the lock for which you want to configure the auto-lock.
Delay in seconds before the lock automatically locks. Required when enabling auto-lock. Must be between 1 and 60.
Required range:
1 <= x <= 60Response
OK
Tracks the progress of this operation. Poll using the action_attempt_id. See the action_attempt object.
Show child attributes
Show child attributes
Was this page helpful?