v1

latestOpenAPI 3.1.12026-07-17111158225.7 KB
templates

Update a template

Updates the template details.

patch/{account}/templates/{template}

Path parameters

accountinteger required

The account id

templatestring required

The template id or short name

Request body

sidstring
namestring
descriptionstring

Example request

{
  "name": "Alpha",
  "sid": "alpha",
  "description": "This is an Alpha template."
}

Response

Successfully updated a template.

Example response

{
  "data": {
    "id": 1,
    "account_id": 1010,
    "name": "Alpha",
    "sid": "alpha",
    "description": "An alpha template.",
    "created_at": "2016-03-22T11:08:58Z",
    "updated_at": "2016-03-22T11:08:58Z"
  }
}