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>"
}
]
}
Update an existing rename rule identified by its 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>"
}
]
}
The unique identifier of the rename rule.
The updated file rename rule
The response is of type object
.
Was this page helpful?