JobLock

Release a named job lock

Release a held lock, optionally recording final progress in the same write. Progress is kept for the next holder. Releasing with a key that no longer holds the lock changes nothing. Restricted to API keys with global write permission on the lock namespace's scope target.

post/jobLocks/{lock_name}/release

Path parameters

lock_namestring required

Registered namespace, a dot, then the job's own id, e.g. azure-boards-sync.<integration id>

Request body

lock_keystring required

Key returned when the lock was acquired

progressstring

Opaque progress to store, at most 8192 bytes as UTF-8. Omit to keep the stored progress.

Response

Lock released, or not held with this key

Changes

Changed in 1 of the 34 revisions of this API.1