POST
/
api
/
end_user_files
/
rename_rules
curl --request POST \
  --url https://app.herondata.io/api/end_user_files/rename_rules \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "end_user_file_class": "<string>",
  "file_name_template": "<string>",
  "is_enabled": true,
  "variables": [
    {
      "description": "<string>",
      "examples": [
        "<string>"
      ],
      "key": "<string>",
      "name": "<string>"
    }
  ]
}'
{
  "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

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
end_user_file_class
string
required
file_name_template
string
required
is_enabled
boolean
required
variables
object[]
required

Response

200 - application/json
The created file rename rule
end_user_file_class
string
required
file_name_template
string
required
is_enabled
boolean
required
variables
object[]
required
heron_id
string