{"type":"api","title":"Apply ANC Policy","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"applyANCPolicy","tags":["Policy"],"summary":"Apply ANC Policy","description":"Applies given ANC policy to the endpoint.","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"request","description":"request","required":true,"schema":{"type":"object","properties":{"ancPolicy":{"type":"string"},"granularAncPolicy":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"nasIpAddress":{"type":"string"}}}}},"$$ref":"#/definitions/EndpointAncPolicy"},"in":"body"},{"name":"Content-Type","description":"Request body content type","default":"application/json","required":true,"type":"string","in":"header"},{"name":"epId","description":"Unique identifier for the endpoint.","required":true,"type":"string","in":"path"}],"responses":{"204":{"description":"ANC policy applied successfully. No content in the response."},"400":{"description":"Invalid request. Check response body for more details."},"404":{"description":"Endpoint for the given 'epId' not found."},"500":{"description":"Internal server error. Check response body for more details."}},"__originalOperationId":"applyANCPolicy","method":"put","path":"/dna/intent/api/v1/endpoint-analytics/endpoints/{epId}/anc-policy"}}