| Requires any of the roles: | SystemAdministrator, Manager, Customer |
| DELETE | /alerts/{alertId} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
/**
* Delete the specified alert
*/
@Api(Description="Delete the specified alert")
public static class DeleteAlert implements IDelete
{
/**
* The ID of the alert to delete
*/
@ApiMember(Description="The ID of the alert to delete")
public String alertId = null;
public String getAlertId() { return alertId; }
public DeleteAlert setAlertId(String value) { this.alertId = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /alerts/{alertId} HTTP/1.1
Host: evovoice.io
Accept: text/csv