View source: R/generated_client.R
| templates_patch_reports | R Documentation | 
Update some attributes of this Report Template
templates_patch_reports(
  id,
  name = NULL,
  category = NULL,
  archived = NULL,
  code_body = NULL,
  provide_api_key = NULL
)
| id | integer required. | 
| name | string optional. The name of the template. | 
| category | string optional. The category of this report template. Can be left blank. Acceptable values are: dataset-viz | 
| archived | boolean optional. Whether the template has been archived. | 
| code_body | string optional. The code for the Template body. | 
| provide_api_key | boolean optional. Whether reports based on this template request an API Key from the report viewer. | 
A list containing the following elements:
| id | integer, | 
| name | string, The name of the template. | 
| category | string, The category of this report template. Can be left blank. Acceptable values are: dataset-viz | 
| createdAt | string, | 
| updatedAt | string, | 
| useCount | integer, The number of uses of this template. | 
| archived | boolean, Whether the template has been archived. | 
| techReviewed | boolean, Whether this template has been audited by Civis for security vulnerability and correctness. | 
| author | list, A list containing the following elements: 
 | 
| authCodeUrl | string, A URL to the template's stored code body. | 
| provideAPIKey | boolean, Whether reports based on this template request an API Key from the report viewer. | 
| hidden | boolean, The hidden status of the item. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.