Templates

Update Template from Upload (JSON + Base64 File)

Changed on

Update a template file

put/templates/{filename}

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/templates/{filename}
  • Auth
    HTTP bearer

Path parameters

filenamestring required

Request body

resellerstring

The reseller or territory the template file applies to.

domainstring

The domain the template file applies to.

serverstring

The server the template file applies to.

descriptionstring

A description of the template file to indicate what it is used for

filetypestring required

Encoding (content type) of the template file

base64_filestring required

A base64 encoded string formatted without line breaks or spaces.

Response

codeinteger required
messagestring required

Changes