Delete User Group

To delete a user group:

DELETE /user_groups/:user_group_id.xml
DELETE /user_groups/:user_group_id.json

XML Request Example

curl -i -X DELETE http://onapp.test/user_groups/12.xml -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X DELETE http://onapp.test/user_groups/12.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'

Returns 204 response on successful deletion, or 404 response if no user group with such ID exists in the DB