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

DNS Edge API Guide

Product name
BlueCat DNS Edge
Service Point v3.x.x
Updates a site template.
  • 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-<DNS.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

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