티켓 사고 여부 수정

지정한 티켓의 사고 여부를 수정합니다.

HTTP 요청

PUT /api/sonar/tickets/:guid/incident
cURL 예시
curl -H "Authorization: Bearer <API_KEY>" \    
     -d incident=true \
     -X PUT \
     https://HOSTNAME/api/sonar/tickets/201dc306-5ef7-4d4f-b872-1fa0f4d7dc56/incident
요청 매개변수
필수타입설명비고
guidO문자열티켓 GUID36자
incidentX불리언사고 여부미지정 시 null

정상 응답

{}

오류 응답

티켓 식별자가 GUID 형식이 아닌 경우

HTTP 상태 코드 400 응답

{
    "error_code": "invalid-param-type",
    "error_msg": "guid should be guid type."
}
티켓이 존재하지 않는 경우

HTTP 상태 코드 500 응답

{
    "error_code": "illegal-state",
    "error_msg": "ticket not found: 201dc306-5ef7-4d4f-b872-1fa0f4d7dc57"
}