Remove Media from Set
From KickApps Documentation
Use this call to remove media from a set.
http://api.kickapps.com/rest/sets/deletemedia/{as}
Contents |
Parameters
- as. The site Id for the site that the set is a part of. 'as' is unique for each of the affiliate sites.
Post Parameters
- t. String. Required. Your access permissions.
- callback. String. Optional. The name of your JavaScript callback function.
- clientIP. String. Optional. Use the clientIP parameter to pass the IP address of the user making the call. If the IP has been blocked by the webmaster under the Affiliate Center -> Manage Members section, an error message will be returned starting with "status":"-1","error":"This IP address has been banned".
- setId. The id of the set from which the media is to be removed.
- mediaId. The media Id of the media that needs to be removed from the set.
- mediaType. Media type of media that is being deleted. Supported media types - video, audio, photo, blog.
Payload
On success, a payload that begins with "status":"1","error":"", "message":"media deleted from set successfully."
On error return, a payload that begins with "status":"-1",
- If the contributor is trying to delete medias from set not created by him return the following message:
message - "You can delete media from the sets created by you."
List of KickApps API Calls
Note: Occasionally (and without advanced warning) we modify our API calls by adding new parameters in the response payload. Please keep this in mind when designing your strategy for parsing our responses.
Favorites






