SocialMedia.deleteChannelContent (Method)
Deletes the specified social media post for the specified channel.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
postID | SocialMediaContentOrPostID | Required | The unique id of the social media content or post (if edited). |
channelID | SocialMediaChannelID | Required | ID of the social media channel for which to delete the content. |
Context:
License Requirements | SocialMedia |
Permission Requirements | (none) |
Deny Context | (none) |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | Customization is not supported for this method. |
Error Codes:
Code | Error Message |
---|---|
83501 | The specified content is not associated with the channel provided. |
83527 | You have insufficient permissions to delete the post for the channel [$1]. |
Notes:
None