# Acquire a lock. # The UUID path segment is the lock ID - choose your own. $ curl "https://dlock.univalent.net/lock/01899dc0-2742-44f9-9c7b-01830851b299/acquire?ttl=60" {"lease":1,"deadline":1655572186} # Another attempt to acquire the same lock within its TTL will fail with HTTP status code 409. $ curl "https://dlock.univalent.net/lock/01899dc0-2742-44f9-9c7b-01830851b299/acquire?ttl=60" {"error