{"type":"api","title":"Edit Syslog Destination and provide Syslog name","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/9792902d-b2cb-3a50-8089-29b3532bc5ed","info":{"title":"Crosswork Alarms and Events APIs","description":"Crosswork Alarms and Events APIs allow applications to create, update, acknowledge and clear alarms.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/FAULT_MANAGEMENT/fault-infra-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{server_ip}:30603/crosswork/alarm/v1","description":"Alarm/Alarm-Rest"}]},"spec":{"tags":["Alarm-Rest"],"summary":"Edit Syslog Destination and provide Syslog name","operationId":"updateSyslogContact","parameters":[{"name":"name","in":"path","required":true,"description":"The name of the syslog destination","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Update syslog destination","properties":{"notificationSyslog":{"type":"object","description":"Details for updating a notification syslog","properties":{"serverAddress":{"type":"string","description":"The server address of the syslog destination","example":"1.2.3.4"},"certificateId":{"type":"string","description":"The certificate ID for secure communication","example":"certificateid"},"transportType":{"type":"string","description":"The transport protocol type used","enum":["UDP","TLS"],"example":"UDP"},"port":{"type":"integer","description":"The port number for syslog","example":514}}}},"$$ref":"#/components/schemas/destsyslogUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Syslog Destination Response","description":"Syslog Destination Response","type":"object","properties":{"result":{"title":"Response for Syslog Destination","type":"string","description":"The result of the syslog destination operation","example":"Success"}},"$$ref":"#/components/schemas/alarmSyslogDestinationResp"}}}},"403":{"description":"Authentication and Authorization errors"},"500":{"description":"operation-failed Response with error"}},"__originalOperationId":"updateSyslogContact","method":"put","path":"/destination/syslog/{name}"}}