terrateam unlock
Release directory locks held by a pull request to allow other operations to proceed.
Usage
terrateam unlockterrateam unlock <pull-request-number> [pull-request-number...]
Examples
Unlock Current PR’s Locks
terrateam unlock
Releases all locks owned by the current pull request.
Unlock Specific Pull Requests
# Unlock locks from PR #123terrateam unlock 123
# Unlock locks from multiple PRsterrateam unlock 123 456 789
Useful for cleaning up locks from closed or abandoned pull requests.
Scope
The unlock command releases all locks owned by the specified pull request(s).
Access Control
Configure unlock permissions in access control.
Lock Management
For more information about lock behavior and configuration, see lock management.
Related Commands
- terrateam plan - Creates read locks
- terrateam apply - Creates write locks