Skip to content
Terrateam

terrateam unlock

Release directory locks held by a pull request to allow other operations to proceed.

terrateam unlock
terrateam unlock <pull-request-number> [pull-request-number...]
terrateam unlock drift
terrateam unlock

Releases all locks owned by the current pull request.

Terminal window
# Unlock locks from PR #123
terrateam unlock 123
# Unlock locks from multiple PRs
terrateam unlock 123 456 789

Useful for cleaning up locks from closed or abandoned pull requests.

terrateam unlock drift

Releases the locks held by drift detection runs. drift can be combined with pull request numbers in one command.

The unlock command releases all locks owned by the specified pull request(s), or by drift runs when drift is given.

Configure unlock permissions in access control.

For more information about lock behavior and configuration, see lock management.