SocialMediaChannel.delete (Method)
Deletes the specified social media channel, all existing social media content for that channel and all social media content history for that channel.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
channelID | SocialMediaChannelID | Required | An integer that uniquely identifies a social media channel to delete. |
ignoreWarnings | Boolean | Required | Boolean flag which when set indicates that warnings should be ignored. If this value is false, this method throws an error with a warning message. |
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 |
---|---|
84003 | The channel cannot be deleted as it has content that have not been posted yet. |
84015 | The channel is selected as one of the default channel for '$1' rule/rules. Any rule for which the channel is the last default channel, would also be deleted. |
Notes:
None