deploy
Lock a deploy
Locks a deploy so that subsequent deploys are built but not published. If the deploy is not the site's published deploy, locking publishes it first. When publishing is gated, the publish and lock are queued and the API responds with 202 Accepted and the deploy; poll getDeploy to follow it.
post/deploys/{deploy_id}/lock
Request
- Base URLhttps://api.netlify.com/api/v1
- URLhttps://api.netlify.com/api/v1/deploys/{deploy_id}/lock
- AuthOAuth 2Implicit: https://app.netlify.com/authorize
Path parameters
deploy_idstring required
Response
OK
Changes
No recorded changes to this operation across all 65 revisions of this API.