request-templates

Updates a request template.

put/request-templates

Request body

request_template_idstring uuid required

The ID of the request template to update.

namestring

The new name of the request template.

Example request

{
  "request_template_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
  "custom_fields": [
    {
      "name": "Why do you need this access?",
      "required": true,
      "metadata": {
        "callout_data": {
          "severity": "WARNING",
          "text": "This role grants access to production customer data."
        },
        "multi_choice_data": {
          "options": [
            "Incident response",
            "Scheduled maintenance"
          ]
        }
      }
    }
  ]
}

Response

The request template just updated.

request_template_idstring uuid required

The ID of the request template.

namestring required

The name of the request template.

Example response

{
  "request_template_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
  "name": "Production access questions",
  "custom_fields": [
    {
      "name": "Why do you need this access?",
      "required": true,
      "metadata": {
        "callout_data": {
          "severity": "WARNING",
          "text": "This role grants access to production customer data."
        },
        "multi_choice_data": {
          "options": [
            "Incident response",
            "Scheduled maintenance"
          ]
        }
      }
    }
  ]
}

Changes