Remove Media From Group


Remove Media From Group

/action/v2/addmediatogroup

Removes a media from a group

Example 1

Removes media 4909805 from group 9499 via an href link.

<a href="/action/v2/removemediafromgroup?mediaId=4909805&groupId=9499" target="new"> Remove Media From Group </a>

Example 2

Removes media 4909805 from group 9499 via a form.

<form name="input" action="/action/v2/removemediafromgroup" 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 remove from the group.
groupIdRequiredInteger up to 11 characters. The id of the group.