계정 그룹 일괄 삭제

지정한 계정 그룹을 삭제합니다.

HTTP 요청

DELETE /api/sonar/user-groups
cURL 예시
curl -H "Authorization: Bearer <API_KEY>" \
     -X DELETE \
     "https://HOSTNAME/api/sonar/user-groups?guids=a2a42968-787f-45a3-bec9-b6b68db21c2f"
요청 매개변수
필수타입설명비고
guidsO문자열계정 그룹 식별자 목록쉼표(,)로 구분된 계정 그룹 식별자 목록

정상 응답

{}

오류 응답

필수 매개변수가 누락된 경우
{
  "error_code": "null-argument",
  "error_msg": "guids should be not null"
}
식별자가 GUID 형식이 아닌 경우
{
  "error_code": "invalid-param-type",
  "error_msg": "guids should be guid type."
}
그룹 관리 권한이 없는 경우
{
  "error_code": "illegal-state",
  "error_msg": "no-permission"
}