프로시저 일괄 삭제
지정한 프로시저를 모두 삭제합니다.
HTTP 요청
DELETE /api/sonar/procedures
cURL 예시
curl -H "Authorization: Bearer <API_KEY>" \
-d guids=5ad13151-dbc1-41c0-92a7-dfeb5f534f4c \
-X DELETE https://HOSTNAME/api/sonar/procedures
요청 매개변수
| 키 | 필수 | 타입 | 설명 | 비고 |
|---|---|---|---|---|
| guids | O | 문자열 목록 | 프로시저 식별자 목록 | 쉼표(,)로 구분된 식별자 목록 |
정상 응답
{
"failures": []
}
오류 응답
프로시저가 존재하지 않는 경우
HTTP 상태 코드 200 응답
{
"failures": [
{
"id": "c1dfe306-abba-4ed8-862b-0e98e2effcb6",
"reason": "procedure-not-found"
}
]
}
관리 권한이 없는 경우
HTTP 상태 코드 500 응답
{
"error_code": "illegal-state",
"error_msg": "no-permission"
}