PATCH
/
api
/
end_user_files
/
rename_rules
/
{heron_id}
curl --request PATCH \
  --url https://app.herondata.io/api/end_user_files/rename_rules/{heron_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "file_name_template": "<string>",
  "is_enabled": true,
  "variables": []
}'
{
  "end_user_file_class": "<string>",
  "file_name_template": "<string>",
  "heron_id": "<string>",
  "is_enabled": true,
  "variables": [
    {
      "description": "<string>",
      "examples": [
        "<string>"
      ],
      "key": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

heron_id
string
required

The unique identifier of the rename rule.

Body

application/json

Response

200 - application/json
The updated file rename rule

The response is of type object.