Examples

POST /api/report_templates/1007981715-report_template9/clone
{
  "report_template": {
    "name": "MyClone"
  }
}
201
{
  "id": 1007981716,
  "name": "MyClone",
  "template": "template content 8",
  "snippet": false,
  "template_kind_id": null,
  "created_at": "2024-02-22T16:16:11.985Z",
  "updated_at": "2024-02-22T16:16:11.985Z",
  "locked": false,
  "default": false,
  "vendor": null,
  "os_family": null,
  "job_category": "Miscellaneous",
  "provider_type": null,
  "description_format": null,
  "execution_timeout_interval": null,
  "description": null
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

report_template
required

Validations:

  • Hash

report_template[name]
required

template name

Validations:

  • String