{"type":"api","title":"Deactivates a single or more performance policies","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/f117fa98-ad23-3ca8-adf8-21349b86b3ff","info":{"title":"Crosswork Performance APIs","description":"Performance APIs allow the user to perform CRUD operations on performance 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/performance-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"http://localhost:8080/crosswork/performance","description":"Generated server url"}]},"spec":{"tags":["monitoring-policy-controller"],"summary":"Deactivates a single or more performance policies.","operationId":"dectivatePolicies","parameters":[{"name":"policyIdOrIds","in":"path","description":"List of policy instance IDs","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"policyId":{"type":"integer","format":"int64"},"status":{"type":"string","enum":["OK","NOT_FOUND","ALREADY_ACTIVATED","ALREADY_DEACTIVATED","DB_ERROR"]},"policyName":{"type":"string"},"errorMessage":{"type":"string"}},"$$ref":"#/components/schemas/OperationResult"}}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}},"__originalOperationId":"dectivatePolicies","method":"put","path":"/v1/policies/deactivate/{policyIdOrIds}"}}