Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.21 KB

category_deleteAll.rst

File metadata and controls

56 lines (37 loc) · 1.21 KB

category_deleteAll

.. function:: DELETE /orgs/{oid}/categories

Summary

  • Method: DELETE
  • Response Code: 204 / 200
  • Response Formats:
  • Since: UForge 3.0

Deletes all of the categories from an organization.

A subset of categories can be deleted by providing a list of category ids to delete as a set of query parameters in the request.

Warning

Only administrators have the ability to create and manage categories

Security Summary

  • Requires Authentication: true
  • Entitlements Required: categories_administrate

URI Parameters

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/categories" -X DELETE \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
.. seealso::

         * :ref:`category-object`
         * :ref:`categoryChild-create`
         * :ref:`category-create`
         * :ref:`category-delete`
         * :ref:`category-get`
         * :ref:`category-getAll`
         * :ref:`category-update`
         * :ref:`org-object`