PATCH
/
templates
/
custom
/
{templateId}
curl --request PATCH \
  --url https://restapi.gputrader.io/v1/templates/custom/{templateId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "environmentVariables": [
    [
      "<string>"
    ]
  ],
  "content": "<string>",
  "isBasicAuthEnabled": true,
  "insecure": true
}'
"<string>"

Authorizations

X-API-Key
string
header
required

Path Parameters

templateId
string
required

Template ID

Body

application/json
name
string

Template name

description
string

Template description

environmentVariables
array

Array of key-value pairs for environment variables

content
string

Template content

isBasicAuthEnabled
boolean

Enable/disable basic authentication

insecure
boolean

Allow insecure connections

Response

200
application/json
Template successfully updated

The response is of type string.