Update Policy State

Update Policy State

Updates the policy state. Can be used to start or stop a policy

Request
URI
PUT
https://{api_host}/vco/api/policies/{id}/state
COPY
Path Parameters
string
id
Required

id


Request Body
string of type(s) application/json
Required
Authentication
This operation uses the following authentication methods.
Responses
204

No content

Operation doesn't return any data structure

400

The request is invalid

Operation doesn't return any data structure

401

The user is not authorized

Operation doesn't return any data structure

404

Cannot find a policy with the specified ID or the user does not have 'update' rights over it

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/vco/api/policies/{id}/state