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
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
On This Page
Policy Service Operations
GET
Get Policy
PUT
Update Policy
DELETE
Delete Policy
GET
Get Policy State
PUT
Update Policy State
GET
Get Policy Template
PUT
Update Policy Template
DELETE
Delete Policy Template
GET
Get All Policies
POST
Create Policy
GET
Get All Policy Templates
POST
Create Policy Template
GET
Get Policy Logs
GET
Find Policy Template Usages
GET
Find Policy Template Dependencies
GET
Get Policies For State