lockDeploy
POST
/deploys/{deploy_id}/lock https://api.netlify.com/api/v1
Parameters
path Path Parameters
| Name | Type |
|---|---|
deploy_id
required
| string |
Responses
200 application/json
OK
interface Deploy {
id?: string;
site_id?: string;
user_id?: string;
build_id?: string;
state?: string;
name?: string;
url?: string;
ssl_url?: string;
admin_url?: string;
deploy_url?: string;
deploy_ssl_url?: string;
screenshot_url?: string;
review_id?: number;
draft?: boolean;
required?: string[];
required_functions?: string[];
error_message?: string;
branch?: string;
commit_ref?: string;
commit_url?: string;
skipped?: boolean;
created_at?: string;
updated_at?: string;
published_at?: string;
title?: string;
context?: string;
locked?: boolean;
review_url?: string;
framework?: string;
skew_protection_token?: string;
function_schedules?:FunctionSchedule [];
}
id?: string;
site_id?: string;
user_id?: string;
build_id?: string;
state?: string;
name?: string;
url?: string;
ssl_url?: string;
admin_url?: string;
deploy_url?: string;
deploy_ssl_url?: string;
screenshot_url?: string;
review_id?: number;
draft?: boolean;
required?: string[];
required_functions?: string[];
error_message?: string;
branch?: string;
commit_ref?: string;
commit_url?: string;
skipped?: boolean;
created_at?: string;
updated_at?: string;
published_at?: string;
title?: string;
context?: string;
locked?: boolean;
review_url?: string;
framework?: string;
skew_protection_token?: string;
function_schedules?:
}
default application/json
error
interface Error {
code?: number;
message: string;
}
code?: number;
message: string;
}