Add media to group


Add Media To Group

/action/v2/addmediatogroup

Adds a media to a group

Example 1

Adds media 4909805 to group 9499 via an href link.

<a href="/action/v2/addmediatogroup?mediaId=4909805&groupId=9499" target="new"> Add Media To Group </a>

Example 2

Adds media 4909805 to group 9499 via a form.

<form name="input" action="/action/v2/addmediatogroup" method="POST"> <input type="hidden" name="mediaId" value="4909805" /> <input type="hidden" name="groupId" value="9499" /> <input type="submit" value="Add Media To Group" /> </form>

Supported params

Name Required Description
mediaIdRequiredInteger up to 11 characters. The id of the media to add to the group.
groupIdRequiredInteger up to 11 characters. The id of the group to be added to.