Delete
------


.. tabularcolumns:: |p{4cm}|p{10.5cm}|

+---------------+------------------------------------------------------+
| Action        | Delete                                               |
+===============+======================================================+
| title         | Delete instance with [pkid]                          |
+---------------+------------------------------------------------------+
| method        | DELETE                                               |
+---------------+------------------------------------------------------+
| URL           | /api/<resource_type>/<resource_name>/[pkid]/         |
+---------------+------------------------------------------------------+
| Parameters    | hierarchy=[hierarchy]                                |
+---------------+------------------------------------------------------+
| Payload       | N/A                                                  |
+---------------+------------------------------------------------------+
| support_async | true                                                 |
+---------------+------------------------------------------------------+
| Class         | delete                                               |
+---------------+------------------------------------------------------+
       

.. tabularcolumns:: |p{4cm}|p{10.5cm}|

+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
| Action        | Bulk Delete                                                                                                                           |
+===============+=======================================================================================================================================+
| Title         | Bulk delete [pkid1],[pkid2]...                                                                                                        |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
| Method        | DELETE                                                                                                                                |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
| URL           | /api/<resource_type>/<resource_name>/                                                                                                 |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
| Parameters    | hierarchy=[hierarchy]                                                                                                                 |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
| Payload       | {"hrefs":["/api/<resource_type>/<resource_name>/[pkid1]",    "/api/<resource_type>/<resource_name>/[pkid2]",    ...]}                 |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
| support_async | true                                                                                                                                  |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
| Class         | delete                                                                                                                                |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------+
    
For the instance pkids [pkid1],[pkid2], ... that can be added to the DELETE call payload 
(the instance pkids to delete), use to the GET call for the resource.

::

   GET /api/<resource_type>/<resource_name>/
     ?hierarchy=sys
     &format=json


.. |VOSS-4-UC| replace:: VOSS-4-UC
.. |Unified CM| replace:: Unified CM
.. |API Guide| replace:: API Guide