# Site Publisher Management Website Configuration / Site Publisher Management ## Return available Site Publisher templates - [GET /SiteTemplates/list_site_templates](https://api.docs.cpanel.net/specifications/cpanel.openapi/site-publisher-management/list_site_templates.md): This function lists available templates for cPanel's Site Publisher feature. * If you call this function as the or user, the function lists the user's templates. * If you call this function as a reseller, the function lists the user's templates the reseller's templates. * If you call this function as a cPanel user, the function's output depends on the account's owner: * If the user owns the account, the function only lists the user's templates. * If a reseller owns the account, the function lists the user's templates that reseller's templates. The template directory's location depends on whether the user or a reseller owns the template: * — The user's templates. * — A reseller's templates, where represents the reseller's username. * — cPanel-provided templates. When you disable the Web Server role, the system this function. ## Return Site Publisher websites' information - [GET /SiteTemplates/list_user_settings](https://api.docs.cpanel.net/specifications/cpanel.openapi/site-publisher-management/list_user_settings.md): This function lists information for the cPanel account's Site Publisher websites. To retrieve the list of Site Publisher website information, the function queries the file in each domain's document root. For more information, read our Guide to Site Publisher Templates documentation. When you disable the Web Server role, the system this function. ## Add Site Publisher website - [GET /SiteTemplates/publish](https://api.docs.cpanel.net/specifications/cpanel.openapi/site-publisher-management/publish.md): This function publishes a Site Publisher website. * This function uses the script to publish the Site Publisher website. * This function creates the file in the specified directory. * This file contains the user-entered data for the Site Publisher website and uses permissions. * For more information, read our Guide to Site Publisher Templates documentation. * When users publish a Site Publisher website, the system first creates a backup tarball of the target directory's contents in the directory within the user's home directory. * When users publish a Site Publisher website, the system logs template information and the target directory to the file. * The template directory's location depends on whether the user or a reseller owns the template: * — The user's templates. * — A reseller's templates, where represents the reseller's username. * — cPanel-provided templates. When you disable the _Web Server_ role, the system this function.