Get Policy Template

Get Policy Template

Get policy template

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

Responses
200

The request is successful

Returns policy-template of type(s) application/json
"policy-template Object"
array of object
policy-item
Optional

policy-item

array of object
parameter
Optional

parameter

string
name
Required
Constraints: minLength: 1 maxLength: 100

name

string
description
Optional
Constraints: minLength: 0 maxLength: 1024

description

array of object
eventHandlers
Optional

eventHandlers

string
href
Optional

href

string
id
Optional

id

object
relations
Optional

relations

string
version
Optional
Constraints: minLength: 0 maxLength: 20

version


401

The user is not authorized

Operation doesn't return any data structure

404

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

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/policies/templates/{id}