{"type":"api","title":"Edit Segment","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Configuration - Segments"],"description":"Edit network segment","operationId":"editSegment","parameters":[{"name":"id","in":"path","description":"Segment Id","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Network segment","content":{"application/json":{"schema":{"type":"object"},"examples":{"Network segment":{"description":"Network segment","value":"{{\n \"segmentName\":\"Discovered_VPN_80\",\n \"segmentId\":\"90\",\n \"solution\":\"sdwan\",\n \"id\":\"bab577b9-e3c7-4385-abc1-d800dacb5f36\",\n \"referenceCount\":0\n}}"}}}},"required":true},"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"put","path":"/segment/{id}"}}