# \[DELETE] /notices/1,2,3

{% tabs %}
{% tab title="Critique" %}

* Violates REST API principles.
  * Semantic violation since `1,2,3` is not a resource.&#x20;
* It opens up to an arbitrary amount of IDs in the URI.
* This is also undesired because the controller has to parse the IDs, increasing overhead in the handler.
  {% endtab %}

{% tab title="Suggestion" %}

* This should be:
  * Three separate calls.
  * OR accept query parameters as a filter
    * `?id[]=1&id[]=2&id[]=3`
      * HTTP will automatically construct this format into an array.
    * `?id=1,2,3`
      * The controller will need to parse the IDs manually.

{% hint style="info" %}
**Final Suggestion**&#x20;

`[DELETE] /notices?id[]=1&id[]=2&id[]=3`
{% endhint %}
{% endtab %}
{% endtabs %}
