Skip to main content
Enabling a site makes the proxy subdomain live so researchers can connect. Disabling it takes the proxy offline — requests to the hackgatedName subdomain return a default page until you re-enable it.

Enable a site

Send a GET request to /api/sites/enable/{id}:
The site’s isActive field becomes true. The activity log records a Started event with the current timestamp.

Disable a site

Send a GET request to /api/sites/disable/{id}:
The site’s isActive field becomes false. Researchers connecting to the proxy subdomain receive a default offline page. The activity log records a Stopped event.

Response

Both endpoints return the updated site object:

Constraints

If you want the site to activate or deactivate at a specific future time without manual intervention, use scheduling instead.