Delete Scheduled Async API Non-Conversation Message

Use the ScheduledRequest object to delete a scheduled message that isn’t part of a conversation.

You can make the request synchronously or asynchronously by specifying synchronous or asynchronous as the request type. Asynchronous requests are queued and processed in the order they arrive.

You can delete any scheduled non-conversation message as long as the queued message’s scheduled time is fewer than 60 minutes from the time that the deletion request is made, if made synchronously, or processed, if made asynchronously.

Retry the deletion request until you receive a success response.

ErrorDescription
204 AsyncAPI_ErrorThe non-conversation message can’t be deleted at this time. Try again later. If the error continues to occur, contact Salesforce Customer Support.
220 AsyncAPI_Item_Not_FoundThe non-conversation message can’t be found. Try again later. If the error continues to occur, contact Salesforce Customer Support.