Remove an attachment from a piece of content on the platform.


user_id required The user that’s performing the action.
owner_xid required The cross reference id that the uploaded content is attached to. (ie: statusId, post_id, message_id, etc.)
owner_type required The cross reference content type that the uploaded content is attached to. (ie: blog_post, photo, video, photo_gallery, user_profile, group, forum_post, forum_thread, forum, message, site, audio, audio_gallery, podcast, petition, document, article, article_version, calendar_event, calendar, wiki_page, ugc_status, ext_content, discussion_post)
type required The type of content that’s being uploaded. (ie: photo, video, document)
name required The user facing name of the downloadable item – including the file extension.
site_id required The site id that the attachment is associated with. Almost always should be the same value that the owning piece of content has.

Request Syntax


JSON Response