Optimizer

Update Optimizer Template

Update a specific Optimizer Template.

patch/v1/optimize/templates/{templateId}

Request

  • Base URL
    https://api.1nce.com/management-api
  • Auth
    HTTP bearer

Path parameters

templateIdstring required
Example:<template_id>

Unique Id of the Optimizer Template for which the update should be applied.

Request body

OR
OR
OR

Example request

{
  "name": "<template_name>",
  "template": "<template_json>",
  "status": "ACTIVE"
}

Response

OK

namestring required

Name of the specific template.

templatestring required

A stringified JSON template.

status'ACTIVE' | 'INACTIVE' required

The current status of the template.

idstring required

The unique ID of the template.

protocolFilterstring[] required

Protocol filter that applies to this template. Only the listed protocols will be processed by the template.

Example response

{
  "name": "<template_name>",
  "template": "<template_json>",
  "status": "ACTIVE",
  "id": "<template_id>"
}

Changes

No recorded changes to this operation across all 1 revision of this API.