> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/account-level/enterprise/site-management/introduction.md

## Article Content:

# About the Site Management APIs

The Site Management APIs let a Wix Enterprise account operate its sites from its own systems, using an Enterprise API key. They cover the parts of running a site at scale that the site dashboard handles 1 site at a time: taking a site offline and putting your own SSL certificate on its domains.

The Site Management APIs include:

- [**Site Publish State**](https://dev.wix.com/docs/api-reference/account-level/enterprise/site-management/site-publish-state-v1/introduction.md): Take a published site offline without deleting it, so it stops serving visitors while it stays in the account and remains editable.
- [**SSL Certificate**](https://dev.wix.com/docs/api-reference/account-level/enterprise/site-management/ssl-certificate-v1/introduction.md): Install your own SSL certificate on the domains connected to a site, and retrieve the certificate a domain currently serves.

To make a site live again after taking it offline, call [Publish Site](https://dev.wix.com/docs/rest/account-level/sites/site-actions/publish-site.md) in the Site Actions API. To list the sites in the account and find their IDs, use the [Sites API](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction.md).

## Before you begin

It's important to note the following points before starting to code:

- These APIs are called with an Enterprise [API key](https://support.wix.com/en/article/about-wix-api-keys). Send the key in the `Authorization` header and the ID of the account that owns the key in the `wix-account-id` header. The key needs the Manage Enterprise Site Publish State permission scope for the Site Publish State API, or the Manage Enterprise Site SSL Certificates permission scope for the SSL Certificate API. You select scopes when you create the key in the [API Keys Manager](https://manage.wix.com/account/api-keys).
- Every request identifies the site it acts on in `metaSiteId`. The key must have access to that site.

## Terminology

- **`metaSiteId`**: The ID of the site a request acts on. The Sites API returns it as the site's ID.
- **Published site**: A site that's live on the internet and reachable by visitors at its domain.
- **Connected domain**: A domain that's attached to a site and serves it. Certificates are installed per connected domain.