Create Asset Folder

Create an Asset Folder within a given site

Required scope | assets:write

Path parameters

site_idstringRequiredformat: "objectid"

Unique identifier for a Site

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
displayNamestringRequired

A human readable name for the Asset Folder

parentFolderstringOptional

An (optional) pointer to a parent Asset Folder (or null for root)

Response

Request was successful

idstringOptionalformat: "objectid"

Unique identifier for the Asset Folder

displayNamestringOptional

User visible name for the Asset Folder

parentFolderstringOptional

Pointer to parent Asset Folder (or null if root)

assetslist of stringsOptional

Array of Asset instances in the folder

siteIdstringOptionalformat: "objectid"

The unique ID of the site the Asset Folder belongs to

createdOnstringOptionalformat: "date-time"

Date that the Asset Folder was created on

lastUpdatedstringOptionalformat: "date-time"

Date that the Asset Folder was last updated on

Errors