bird assets folders create
Usage
Codevoorbeeld
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
Codevoorbeeld
# print the body shape (no credentials needed)
bird assets folders create --example
# the body it prints:Codevoorbeeld
{
"name": "Campaign images"
}Options
Request
| Name | Description |
|---|---|
--body-file | Read the JSON request body from this file; "-" reads stdin |
--example | Print a complete example request body, then exit |
--dry-run | Print the resolved request without sending it, then exit |
--idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
--name | The 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-id | The folder to create this one in. Omit it, or send null, to create the folder at the top level of the library. |
--response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
bird assets folders delete | Delete a folder and move its contents up |
bird assets folders get | Get a media-library folder by ID |
bird assets folders list | List workspace media-library folders |
bird assets folders update | Rename or move a media-library folder |
Gerelateerde bronnen
Ga verder met de documentatie, handleidingen en voorbeelden voor dit onderwerp.