Class MessageCancelParams

  • All Implemented Interfaces:
    com.courier.core.Params

    
    public final class MessageCancelParams
     implements Params
                        

    Cancel a message that is currently in the process of being delivered. A well-formatted API call to the cancel message API will return either 200 status code for a successful cancellation or 409 status code for an unsuccessful cancellation. Both cases will include the actual message record in the response body (see details below).