Website
Disable a website
Disables a website and makes it inaccessible. If the website has staging enabled, both the main website and staging environment will be disabled.
post/v1/hosting/websites/{website_id}/disable
Request
- Base URLhttps://api.10web.io
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
website_idinteger required
Headers
x-api-keystring required
API key for authentication
Response
Website disabled successfully
Example response
{
"status": "ok"
}Changes
No recorded changes to this operation across all 1 revision of this API.