site
Disable a site
Changed onDisables a site, preventing it from serving content. The site can be re-enabled later using the enable endpoint.
put/sites/{site_id}/disable
Request
- Base URLhttps://api.netlify.com/api/v1
- URLhttps://api.netlify.com/api/v1/sites/{site_id}/disable
- AuthOAuth 2Implicit: https://app.netlify.com/authorize
Query parameters
reasonstring required
Reason for disabling the site
Response
No content
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking