{"type":"api","title":"Delete Custom Trap Event by Event Type","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/3ba2ebf1-2c82-351f-9129-0701a2a03db6","info":{"title":"APIs exposed by Alarm Rest service","description":"APIs exposed by Alarm Rest service.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/fault-emf-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{server_ip}:30603/crosswork/alarm/v1","description":"Generated server url"}]},"spec":{"tags":["alarm-rest"],"summary":"Delete Custom Trap Event by Event Type","description":"Deletes an existing custom trap event for the specified event type.","operationId":"deleteCustomTrap","parameters":[{"name":"eventtype","in":"path","required":true,"schema":{"type":"string"},"description":"The event type for which the trap event is being deleted."}],"responses":{"200":{"description":"Trap event deleted successfully","content":{"application/json":{"schema":{"type":"object","description":"Response object for deleting trap configurations","properties":{"status":{"type":"string","description":"Status of the trap delete operation","example":"Success/Fail"},"message":{"type":"string","description":"Message indicating the result of the trap delete operation","example":"error-message"}},"$$ref":"#/components/schemas/DeleteTrapResponse"}}}},"403":{"description":"Authentication and Authorization errors"},"500":{"description":"operation-failed Response with error"}},"__originalOperationId":"deleteCustomTrap","method":"delete","path":"/custom/trap/{eventtype}"}}