Create Group

POST {{protocol}}://{{media_manager_url}}/group

Create a group, nested under another group or at the top level (bin level).

Body: form-data

namedescription
bin_id[id] Required. Bin ID where the Group will be associated with
group_id[id] Optional. The group that will be created will have this groupid as its parent, otherwise parent will be binid
name[string] Optional. If no value, the folder is named 'new folder' by default

Request Body

[{"name"=>"bin_id", "value"=>"", "datatype"=>"null"}, {"name"=>"group_id", "value"=>"", "datatype"=>"null"}, {"name"=>"name", "value"=>"", "datatype"=>"null"}]

RESPONSES

status: Created

{"message":"Created folder My Bucket","status":"OK","code":201,"data":[{"id":"2-10ea25ce-4cj695","bin_id":"1-f6a090d-6fxfs2","group_id":"1-f6a090d-6fxfs2","name":"My Bucket","type":"group"}]}