Remove User Groups

Deletes the specified user groups.

HTTP Request

DELETE /api/sonar/user-groups
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \
     -X DELETE \
Request Parameter
guidsOStringUser group GUID listComma-separated list

Success Response


Error Responses

Required argument is missing
    "error_code": "null-argument",
    "error_msg": "guids should be not null"
Identifier is not in valid GUID format
    "error_code": "invalid-param-type",
    "error_msg": "guids should be guid type."
No privileges to delete a user group
    "error_code": "illegal-state",
    "error_msg": "no-permission"