Acquire Lock
POST/api/record-locks/:recordType/:recordId/acquire
Enter edit mode by acquiring the lock. First acquisition is atomic, so two simultaneous editors cannot both win. The response is the authoritative state afterwards: if locked_by_id equals the current user the caller holds the lock and may edit; otherwise another user already holds it and the caller must stay read-only. A holder re-acquiring simply refreshes the TTL. Takes no request body.
Request
Responses
- 200
OK
Response Headers
Content-Type