/v1/siteTemplates/{siteTemplateId} (PUT) - BlueCat Edge - Service Point v3.x.x

BlueCat Edge User Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v3.x.x
Updates a site template.
Note:
  • You can specify up to three namespaces in a site template.
  • You can set an explicit order for the namespaces assigned to a site template.
PUT https://api-<BlueCat.edge.url>/v1/api/siteTemplates/{siteTemplateId}
Authorization: Bearer authorization token
Content-type: application/JSON

{
    "id": "siteTemplateId1",
    "name": "Default",
    "associatedNamespaces": [{"id": "namespaceId1"}, {"id": "namespaceId2"}, ...]
}

The id is a unique identifier (UUID) for the site template.

The name is the name of the site template.

associatedNamespaces contain the unique identifiers (UUID) of the namespaces assigned to the template.

Note: You can use /v1/siteTemplates (GET) to obtain the UUID for the site template and namespaces.

Successful response

204 NO CONTENT
Possible error codes
  • NOT FOUND - The given site template id does not exist.
  • UNAUTHORIZED - Missing or invalid token
  • FORBIDDEN - You are not authorized to perform this action
  • INTERNAL SERVER ERROR - Unexpected error