Sign inGet Started

bird assets folders create

Usage

Exemple de code
bird assets folders create [flags]

Description

Create a folder in the media library

Creates a root folder when parent_id is omitted, or nests it beneath an existing folder. Names must be unique within the parent, ignoring case. Folder placement does not change asset URLs.

Build the request from flags, a JSON AssetFolderCreate body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Exemple de code
# print the body shape (no credentials needed)
bird assets folders create --example

# the body it prints:
Exemple de code
{
  "name": "Campaign images"
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--nameThe folder's display name. Must be unique among folders sharing the same parent, compared without regard to case. Cannot contain /. (required; or in --body-file)
--parent-idThe folder to create this one in. Omit it, or send null, to create the folder at the top level of the library.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird assets folders deleteDelete a folder and move its contents up
bird assets folders getGet a media-library folder by ID
bird assets folders listList workspace media-library folders
bird assets folders updateRename or move a media-library folder

Poursuivez avec la documentation, les guides et les exemples sur ce sujet.