diff --git a/lib/API.jsx b/lib/API.jsx index f8587ba0..610ca38c 100644 --- a/lib/API.jsx +++ b/lib/API.jsx @@ -432,6 +432,20 @@ export default function API(network, args) { return performPOSTRequest(commandName, newParameters); }, + /** + * Resets the status of SMS delivery of a phone number + * @param {Object} parameters + * @param {String} parameters.email + * @returns {ExpensifyAPIDeferred} + */ + resetSMSDeliveryFailureStatus(parameters) { + const commandName = 'ResetSMSDeliveryFailureStatus'; + requireParameters(['email'], parameters, commandName); + + const newParameters = {...parameters, api_setCookie: false}; + return performPOSTRequest(commandName, newParameters); + }, + /** * Sets the password for an account *