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 using Synchronous or Asynchronous as the RequestType. Asynchronous requests are queued and processed in the order they arrive. General delays in Async API processing impact an asynchronous deletion request, just like any other asynchronous request.

Deletion Eligibility

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.

Errors

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.

Sample SOAP Request