Get Policy Type By Id Using GET 1

Get Policy Type By Id Using GET 1

Find a specific policy type based on the input policy type id.

Request
URI
GET
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/policy/api/policyTypes/{id}
COPY
Path Parameters
string
id
Required

Policy type ID


Responses
200

OK

Returns PolicyType of type(s) application/json
{
    "config": {
        "enableDryRun": false,
        "enableEnforcementType": false,
        "enableUpdateNotification": false
    },
    "displayName": "string",
    "id": "string",
    "name": "string"
}
config
Optional

config

object
definitionSchema
Required

Schema describing a policy object of this type

string
displayName
Required

Policy type display-name/label

string
id
Required

Policy type ID

string
name
Required

Policy type name

object
targetSchema
Required

Schema describing objects that can be affected by this policy