Data Types

FilePathDefinition

The path to upload the file to.

Can be one of the following types:


DynamicFilePath

An object containing a fileName and/or folderPath.

Both fields are optional: omitted fields will use the API key's default values, which are configured per API key via the Upload Dashboard.

Supports path variables.

Type: DynamicFilePath


String

Absolute or relative path to a location in your Upload account's storage.

Relative paths are relative to the API key's default folder (configured per API key in the Upload Dashboard).

Does not support path traversals (e.g. ..).

Does not support path variables.

Example

"/uploads/image.jpg"

Used by

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: