Sites

Reset site

Resets a site to its initial state, or rebuilds it from a new template and data.

post/api/sites/multiscreen/reset/{site_name}

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/reset/{site_name}
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

Request body

default_domain_prefixstring
do_not_gen_sslboolean
langstring

Rejected when building from a vibe template.

template_aliasstring

Alias of the template to build from. A vibe template creates a vibe site, which rejects url, lang, xframe_options, a site_data.editor other than VIBE and any of site_data.{piwik_id, site_seo, removeBizInfos, schemas, site_business_info}. Omit it, and template_id, with site_data.editor VIBE to create a blank vibe site.

template_idinteger

Deprecated, use 'template_alias'.

urlstring

Rejected when building from a vibe template.

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.