// Operation: Delete Message(s) // Http Delete /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId} public async Task <string> Delete(DeleteMessageParameters queryParams = null) { if (this.messageId == null) { throw new System.ArgumentNullException("messageId"); } return(await rc.Delete <string>(this.Path(), queryParams)); }
/// <summary> /// Deletes message(s) by the given message ID(s). The first call of this method transfers the message to the 'Delete' /// status. The second call transfers the deleted message to the 'Purged' status. If it is required to make the message /// 'Purged' immediately (from the first call), then set the query parameter purge to 'True'. /// HTTP Method: delete /// Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store/{messageId} /// Rate Limit Group: Medium /// App Permission: EditMessages /// User Permission: EditMessages /// </summary> public async Task <string> Delete(DeleteMessageParameters queryParams = null, RestRequestConfig restRequestConfig = null) { if (messageId == null) { throw new ArgumentException("Parameter cannot be null", nameof(messageId)); } return(await rc.Delete <string>(Path(), queryParams, restRequestConfig)); }
/// <summary> /// Deletes message(s) by the given message ID(s). The first call of this method transfers the message to the 'Delete' /// status. The second call transfers the deleted message to the 'Purged' status. If it is required to make the message /// 'Purged' immediately (from the first call), then set the query parameter purge to 'True'. /// HTTP Method: delete /// Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/message-store/{messageId} /// Rate Limit Group: Medium /// App Permission: EditMessages /// User Permission: EditMessages /// </summary> public async Task <string> Delete(DeleteMessageParameters queryParams = null, RestRequestConfig restRequestConfig = null) { return(await rc.Delete <string>(Path(), queryParams, restRequestConfig)); }