media-attachment
The media-attachment target interacts with a media attachment that you own.
Below are the operations you can perform on the media-attachment target.
create media-attachment
This operation uploads media from a file to the instance and creates a media attachment.
format
enbas [top level flags] create media-attachment [flags]
top level flags
See Top Level Flags
flags
--media-description
The description of the media attachment.
Default: <empty>
--media-file (required)
The path to the file of the media-attachment.
--media-focus
The focus of the media-attachment.
Default: <empty>
edit media-attachment
This operation edits the description and/or the focus of the media that you have created.
format
enbas [top level flags] edit media-attachment [flags]
top level flags
See Top Level Flags
flags
--attachment-id (required)
The ID of the media attachment.
--media-description
The description of the media attachment.
Default: <empty>
--media-focus
The focus of the media-attachment.
Default: <empty>
show media-attachment
This operation prints the details of a given media attachment. Note that you can only see the details of the media attachment that you have created.
format
enbas [top level flags] show media-attachment [flags]
top level flags
See Top Level Flags
flags
--attachment-id (required)
The ID of the media attachment.