Update a template
Changed onUpdates the template details.
Request
- Base URLhttps://api.dnsimple.com/v2
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The account id
The template id or short name
Request body
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"
}
}Changes
- info
the request property
became optional - info
the request property
became optional - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status
- info
- breaking
the request property
became required - breaking
the request property
became required - breaking
the response property
became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
became optional for the status
- breaking