3 title: Policy Framework Lifecycle API
4 description: The Policy Fraemwork API allows the lifecycle of policy types and policyes to be managed
7 url: https://lists.onap.org/g/onap-discuss
8 email: onap-discuss@lists.onap.org
11 url: http://www.apache.org/licenses/LICENSE-2.0
14 description: Policy Framework Documentation
15 url: https://docs.onap.org/projects/onap-policy-parent/en/latest
17 - url: //localhost:30440/
19 - name: "Tosca Node Template Design"
21 Tosca Node template Design API is publicly exposed for clients to Create/Read/Update/Delete
22 node templates which can be recognized and executable by incorporated policy engines. It is an
23 independent component running rest service that takes all node templates design API calls
24 from clients and then assign them to different API working functions.
25 - name: "Policy Design"
27 Policy Design API is publicly exposed for clients to Create/Read/Update/Delete
28 policy types, policy type implementation and policies which can be recognized
29 and executable by incorporated policy engines. It is an
30 independent component running rest service that takes all policy design API calls
31 from clients and then assign them to different API working functions. Besides
32 that, API is also exposed for clients to retrieve healthcheck status of this API
39 summary: Perform a system healthcheck
40 description: Returns healthy status of the Policy API component
41 operationId: getHealthCheck
43 - name: X-ONAP-RequestID
45 description: RequestID for http transaction
51 description: Serialised instance of
52 [HealthCheckReport](https://github.com/onap/policy-common/blob/master/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/report/HealthCheckReport.java)
70 $ref: '#/components/schemas/HealthCheckReport'
73 $ref: '#/components/schemas/HealthCheckReport'
75 description: Authentication Error
92 description: Authorization Error
109 description: Not Found
126 description: Internal Server Error
146 last-mod-release: Dublin
150 - "Tosca Node Template Design"
151 summary: Retrieve all the available tosca node templates
152 description: Returns all the node templates from the service template
153 operationId: getAllNodeTemplates
155 - name: X-ONAP-RequestID
157 description: RequestID for http transaction
163 description: OK, returns an array of
164 [ToscaNodeTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaNodeTemplate.java)
185 $ref: '#/components/schemas/ToscaNodeTemplate'
190 $ref: '#/components/schemas/ToscaNodeTemplate'
192 description: Authentication Error
209 description: Authorization Error
226 description: Resource Not Found
243 description: Internal Server Error
263 last-mod-release: Jakarta
266 - "Tosca Node Template Design"
267 summary: Updates one or more new node templates
268 description: Client should provide TOSCA body of the updated node templates in an instance of
269 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
270 operationId: updateToscaNodeTemplates
272 - name: X-ONAP-RequestID
274 description: RequestID for http transaction
279 description: Entity body of tosca node templates
283 $ref: '#/components/schemas/ToscaServiceTemplate'
286 $ref: '#/components/schemas/ToscaServiceTemplate'
290 description: OK, returns the updated Node Templates in an instance of
291 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
309 $ref: '#/components/schemas/ToscaServiceTemplate'
312 $ref: '#/components/schemas/ToscaServiceTemplate'
314 description: OK, returns the updated Node Templates in an instance of
315 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
333 $ref: '#/components/schemas/ToscaServiceTemplate'
336 $ref: '#/components/schemas/ToscaServiceTemplate'
338 description: Invalid Body
355 description: Authentication Error
372 description: Authorization Error
389 description: Resource Not Found
406 description: Not Acceptable Payload
423 description: Internal Server Error
443 last-mod-release: Jakarta
444 x-codegen-request-body-name: body
447 - "Tosca Node Template Design"
448 summary: Create one or more new node templates
449 description: Client should provide TOSCA body of the new node templates
450 operationId: createToscaNodeTemplates
452 - name: X-ONAP-RequestID
454 description: RequestID for http transaction
459 description: Entity body of tosca node templates contained in an instance of
460 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
464 $ref: '#/components/schemas/ToscaServiceTemplate'
467 $ref: '#/components/schemas/ToscaServiceTemplate'
471 description: OK, returns the created node templates in an instance of
472 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
490 $ref: '#/components/schemas/ToscaServiceTemplate'
493 $ref: '#/components/schemas/ToscaServiceTemplate'
495 description: OK, returns the created node templates in an instance of
496 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
514 $ref: '#/components/schemas/ToscaServiceTemplate'
517 $ref: '#/components/schemas/ToscaServiceTemplate'
519 description: Invalid Body
536 description: Authentication Error
553 description: Authorization Error
570 description: Resource Not Found
587 description: Not Acceptable Payload
604 description: Internal Server Error
624 last-mod-release: Jakarta
625 x-codegen-request-body-name: body
626 /nodetemplates/{name}/versions/{version}:
629 - "Tosca Node Template Design"
630 summary: Retrieve one version of a tosca node template
631 description: Returns a particular version of a node template
632 operationId: getSpecificVersionOfNodeTemplate
636 description: Name of the node template
642 description: Version of the node template
646 - name: X-ONAP-RequestID
648 description: RequestID for http transaction
654 description: OK, returns an array of
655 [ToscaNodeTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaNodeTemplate.java)
675 $ref: '#/components/schemas/ToscaNodeTemplate'
680 $ref: '#/components/schemas/ToscaNodeTemplate'
682 description: Authentication Error
699 description: Authorization Error
716 description: Resource Not Found
733 description: Internal Server Error
753 last-mod-release: Jakarta
756 - "Tosca Node Template Design"
757 summary: Updates one or more new node templates
758 description: Client should provide TOSCA body of the updated node templates
759 operationId: deleteToscaNodeTemplates
763 description: Name of the node template
769 description: Version of the node template
773 - name: X-ONAP-RequestID
775 description: RequestID for http transaction
781 description: OK, returns the delete node template in an instance of
782 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
800 $ref: '#/components/schemas/ToscaServiceTemplate'
803 $ref: '#/components/schemas/ToscaServiceTemplate'
805 description: No Content
822 description: Invalid Body
839 description: Authentication Error
856 description: Authorization Error
873 description: Resource Not Found
890 description: Not Acceptable Payload
907 description: Internal Server Error
927 last-mod-release: Jakarta
932 summary: Retrieve all versions of available policies
933 description: Returns all version of available policies
934 operationId: getPolicies
938 description: Fetch mode for policies, BARE for bare policies (default), REFERENCED
939 for fully referenced policies
941 $ref: '#/components/schemas/PolicyFetchMode'
942 - name: X-ONAP-RequestID
944 description: RequestID for http transaction
950 description: OK, returns the found policies in an instance of
951 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
969 $ref: '#/components/schemas/ToscaServiceTemplate'
972 $ref: '#/components/schemas/ToscaServiceTemplate'
974 description: Authentication Error
991 description: Authorization Error
1008 description: Resource Not Found
1025 description: Internal Server Error
1045 last-mod-release: Guilin
1049 summary: Create one or more new policies
1050 description: Client should provide TOSCA body of the new polic(ies)
1051 operationId: createPolicies
1053 - name: X-ONAP-RequestID
1055 description: RequestID for http transaction
1060 description: Entity body of the policies to be created contained in an instance of
1061 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1065 $ref: '#/components/schemas/ToscaServiceTemplate'
1068 $ref: '#/components/schemas/ToscaServiceTemplate'
1072 description: OK, the policies created in an instance of
1073 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1091 $ref: '#/components/schemas/ToscaServiceTemplate'
1094 $ref: '#/components/schemas/ToscaServiceTemplate'
1096 description: OK, the policies created in an instance of
1097 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1115 $ref: '#/components/schemas/ToscaServiceTemplate'
1118 $ref: '#/components/schemas/ToscaServiceTemplate'
1120 description: Invalid Body
1137 description: Authentication Error
1154 description: Authorization Error
1171 description: Resource Not Found
1188 description: Not Acceptable Payload
1205 description: Internal Server Error
1225 last-mod-release: El Alto
1226 x-codegen-request-body-name: body
1227 /policies/{policyId}/versions/{policyVersion}:
1231 summary: Retrieve specific version of a specified policy
1232 description: Returns a particular version of specified policy
1233 operationId: getSpecificPolicy
1237 description: Fetch mode for policies, BARE for bare policies (default), REFERENCED
1238 for fully referenced policies
1240 $ref: '#/components/schemas/PolicyFetchMode'
1243 description: Name of policy
1247 - name: policyVersion
1249 description: Version of policy
1253 - name: X-ONAP-RequestID
1255 description: RequestID for http transaction
1261 description: OK, returns the found policies in an instance of
1262 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1280 $ref: '#/components/schemas/ToscaServiceTemplate'
1283 $ref: '#/components/schemas/ToscaServiceTemplate'
1285 description: Authentication Error
1302 description: Authorization Error
1319 description: Resource Not Found
1336 description: Internal Server Error
1356 last-mod-release: Guilin
1360 summary: Delete a particular version of a policy
1361 description: 'Rule: the version that has been deployed in PDP group(s) cannot
1363 operationId: deleteSpecificPolicy
1367 description: ID of policy
1371 - name: policyVersion
1373 description: Version of policy
1377 - name: X-ONAP-RequestID
1379 description: RequestID for http transaction
1385 description: OK, returns the deleted policy in an instance of
1386 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1404 $ref: '#/components/schemas/ToscaServiceTemplate'
1407 $ref: '#/components/schemas/ToscaServiceTemplate'
1409 description: No Content
1426 description: Authentication Error
1443 description: Authorization Error
1460 description: Resource Not Found
1477 description: Delete Conflict, Rule Violation
1494 description: Internal Server Error
1514 last-mod-release: Guilin
1519 summary: Retrieve existing policy types
1520 description: Returns a list of existing policy types stored in Policy Framework
1521 operationId: getAllPolicyTypes
1523 - name: X-ONAP-RequestID
1525 description: RequestID for http transaction
1531 description: OK, the found policy types in an instance of
1532 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1550 $ref: '#/components/schemas/ToscaServiceTemplate'
1553 $ref: '#/components/schemas/ToscaServiceTemplate'
1555 description: Authentication Error
1572 description: Authorization Error
1589 description: Not Found
1606 description: Internal Server Error
1626 last-mod-release: Dublin
1630 summary: Create a new policy type
1631 description: Client should provide TOSCA body of the new policy type
1632 operationId: createPolicyType
1634 - name: X-ONAP-RequestID
1636 description: RequestID for http transaction
1641 description: Entity body of policy types to be created in an instance of
1642 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1646 $ref: '#/components/schemas/ToscaServiceTemplate'
1649 $ref: '#/components/schemas/ToscaServiceTemplate'
1653 description: OK, the created policy types in an instance of
1654 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1672 $ref: '#/components/schemas/ToscaServiceTemplate'
1675 $ref: '#/components/schemas/ToscaServiceTemplate'
1677 description: OK, the created policy types in an instance of
1678 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1696 $ref: '#/components/schemas/ToscaServiceTemplate'
1699 $ref: '#/components/schemas/ToscaServiceTemplate'
1701 description: Invalid Body
1718 description: Authentication Error
1735 description: Authorization Error
1752 description: Not Found
1769 description: Not Acceptable Payload
1786 description: Internal Server Error
1806 last-mod-release: Dublin
1807 x-codegen-request-body-name: body
1808 /policytypes/{policyTypeId}:
1812 summary: Retrieve all available versions of a policy type
1813 description: Returns a list of all available versions for the specified policy
1815 operationId: getAllVersionsOfPolicyType
1817 - name: policyTypeId
1819 description: ID of policy type
1823 - name: X-ONAP-RequestID
1825 description: RequestID for http transaction
1831 description: OK, the found policy types in an instance of
1832 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1850 $ref: '#/components/schemas/ToscaServiceTemplate'
1853 $ref: '#/components/schemas/ToscaServiceTemplate'
1855 description: Authentication Error
1872 description: Authorization Error
1889 description: Resource Not Found
1906 description: Internal Server Error
1926 last-mod-release: Dublin
1927 /policytypes/{policyTypeId}/versions/latest:
1931 summary: Retrieve latest version of a policy type
1932 description: Returns latest version for the specified policy type
1933 operationId: getLatestVersionOfPolicyType
1935 - name: policyTypeId
1937 description: ID of policy type
1941 - name: X-ONAP-RequestID
1943 description: RequestID for http transaction
1949 description: OK, the found policy types in an instance of
1950 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
1968 $ref: '#/components/schemas/ToscaServiceTemplate'
1971 $ref: '#/components/schemas/ToscaServiceTemplate'
1973 description: Authentication Error
1990 description: Authorization Error
2007 description: Resource Not Found
2024 description: Internal Server Error
2044 last-mod-release: Dublin
2045 /policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies:
2049 summary: Retrieve all versions of a policy created for a particular policy type
2051 description: Returns a list of all versions of specified policy created for
2052 the specified policy type version
2053 operationId: getAllPolicies
2057 description: Fetch mode for policies, BARE for bare policies (default), REFERENCED
2058 for fully referenced policies
2060 $ref: '#/components/schemas/PolicyFetchMode'
2061 - name: policyTypeId
2063 description: ID of policy type
2067 - name: policyTypeVersion
2069 description: Version of policy type
2073 - name: X-ONAP-RequestID
2075 description: RequestID for http transaction
2081 description: OK, the found policies in an instance of
2082 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2100 $ref: '#/components/schemas/ToscaServiceTemplate'
2103 $ref: '#/components/schemas/ToscaServiceTemplate'
2105 description: Authentication Error
2122 description: Authorization Error
2139 description: Resource Not Found
2156 description: Internal Server Error
2176 last-mod-release: Dublin
2180 summary: Create a new policy for a policy type version
2181 description: Client should provide TOSCA body of the new policy
2182 operationId: createPolicy
2184 - name: policyTypeId
2186 description: ID of policy type
2190 - name: policyTypeVersion
2192 description: Version of policy type
2196 - name: X-ONAP-RequestID
2198 description: RequestID for http transaction
2203 description: Entity body of policies to create in an instance of
2204 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2208 $ref: '#/components/schemas/ToscaServiceTemplate'
2211 $ref: '#/components/schemas/ToscaServiceTemplate'
2215 description: OK, the created policies in an instance of
2216 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2234 $ref: '#/components/schemas/ToscaServiceTemplate'
2237 $ref: '#/components/schemas/ToscaServiceTemplate'
2239 description: OK, the created policies in an instance of
2240 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2258 $ref: '#/components/schemas/ToscaServiceTemplate'
2261 $ref: '#/components/schemas/ToscaServiceTemplate'
2263 description: Invalid Body
2280 description: Authentication Error
2297 description: Authorization Error
2314 description: Resource Not Found
2331 description: Not Acceptable Payload
2348 description: Internal Server Error
2368 last-mod-release: Dublin
2369 x-codegen-request-body-name: body
2370 /policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}:
2374 summary: Retrieve all version details of a policy created for a particular policy
2376 description: Returns a list of all version details of the specified policy
2377 operationId: getAllVersionsOfPolicy
2381 description: Fetch mode for policies, BARE for bare policies (default), REFERENCED
2382 for fully referenced policies
2384 $ref: '#/components/schemas/PolicyFetchMode'
2387 description: ID of policy
2391 - name: policyTypeId
2393 description: ID of policy type
2397 - name: policyTypeVersion
2399 description: Version of policy type
2403 - name: X-ONAP-RequestID
2405 description: RequestID for http transaction
2411 description: OK, the found policies in an instance of
2412 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2430 $ref: '#/components/schemas/ToscaServiceTemplate'
2433 $ref: '#/components/schemas/ToscaServiceTemplate'
2435 description: Authentication Error
2452 description: Authorization Error
2469 description: Resource Not Found
2486 description: Internal Server Error
2506 last-mod-release: Dublin
2507 /policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/latest:
2511 summary: Retrieve the latest version of a particular policy
2512 description: Returns the latest version of specified policy
2513 operationId: getLatestVersionOfPolicy
2517 description: Fetch mode for policies, TERSE for bare policies (default), REFERENCED
2518 for fully referenced policies
2520 $ref: '#/components/schemas/PolicyFetchMode'
2523 description: ID of policy
2527 - name: policyTypeId
2529 description: ID of policy type
2533 - name: policyTypeVersion
2535 description: Version of policy type
2539 - name: X-ONAP-RequestID
2541 description: RequestID for http transaction
2547 description: OK, the found policies in an instance of
2548 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2566 $ref: '#/components/schemas/ToscaServiceTemplate'
2569 $ref: '#/components/schemas/ToscaServiceTemplate'
2571 description: Authentication Error
2588 description: Authorization Error
2605 description: Resource Not Found
2622 description: Internal Server Error
2642 last-mod-release: Dublin
2643 /policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/{policyVersion}:
2647 summary: Retrieve one version of a policy created for a particular policy type
2649 description: Returns a particular version of specified policy created for the
2650 specified policy type version
2651 operationId: getSpecificVersionOfPolicy
2655 description: Fetch mode for policies, BARE for bare policies (default), REFERENCED
2656 for fully referenced policies
2658 $ref: '#/components/schemas/PolicyFetchMode'
2661 description: ID of policy
2665 - name: policyTypeId
2667 description: ID of policy type
2671 - name: policyTypeVersion
2673 description: Version of policy type
2677 - name: policyVersion
2679 description: Version of policy
2683 - name: X-ONAP-RequestID
2685 description: RequestID for http transaction
2691 description: OK, the found policies in an instance of
2692 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2710 $ref: '#/components/schemas/ToscaServiceTemplate'
2713 $ref: '#/components/schemas/ToscaServiceTemplate'
2715 description: Authentication Error
2732 description: Authorization Error
2749 description: Resource Not Found
2766 description: Internal Server Error
2786 last-mod-release: Dublin
2790 summary: Delete a particular version of a policy
2791 description: 'Rule: the version that has been deployed in PDP group(s) cannot
2793 operationId: deleteSpecificVersionOfPolicy
2795 - name: policyTypeId
2797 description: PolicyType ID
2801 - name: policyTypeVersion
2803 description: Version of policy type
2809 description: ID of policy
2813 - name: policyVersion
2815 description: Version of policy
2819 - name: X-ONAP-RequestID
2821 description: RequestID for http transaction
2827 description: OK, the deleted policy in an instance of
2828 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
2846 $ref: '#/components/schemas/ToscaServiceTemplate'
2849 $ref: '#/components/schemas/ToscaServiceTemplate'
2851 description: No Content
2868 description: Authentication Error
2885 description: Authorization Error
2902 description: Resource Not Found
2919 description: Delete Conflict, Rule Violation
2936 description: Internal Server Error
2956 last-mod-release: Dublin
2957 /policytypes/{policyTypeId}/versions/{versionId}:
2961 summary: Retrieve one particular version of a policy type
2962 description: Returns a particular version for the specified policy type
2963 operationId: getSpecificVersionOfPolicyType
2965 - name: policyTypeId
2967 description: ID of policy type
2973 description: Version of policy type
2977 - name: X-ONAP-RequestID
2979 description: RequestID for http transaction
2985 description: OK, the found policy types in an instance of
2986 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
3004 $ref: '#/components/schemas/ToscaServiceTemplate'
3007 $ref: '#/components/schemas/ToscaServiceTemplate'
3009 description: Authentication Error
3026 description: Authorization Error
3043 description: Resource Not Found
3060 description: Internal Server Error
3080 last-mod-release: Dublin
3084 summary: Delete one version of a policy type
3085 description: 'Rule 1: pre-defined policy types cannot be deleted;Rule 2: policy
3086 types that are in use (parameterized by a TOSCA policy) cannot be deleted.The
3087 parameterizing TOSCA policies must be deleted first;'
3088 operationId: deleteSpecificVersionOfPolicyType
3090 - name: policyTypeId
3092 description: ID of policy type
3098 description: Version of policy type
3102 - name: X-ONAP-RequestID
3104 description: RequestID for http transaction
3110 description: OK, the deleted policy type in an instance of
3111 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
3129 $ref: '#/components/schemas/ToscaServiceTemplate'
3132 $ref: '#/components/schemas/ToscaServiceTemplate'
3134 description: No Content
3151 description: Authentication Error
3168 description: Authorization Error
3185 description: Resource Not Found
3202 description: Delete Conflict, Rule Violation
3219 description: Internal Server Error
3239 last-mod-release: Dublin
3246 ToscaServiceTemplate:
3247 title: ToscaServiceTemplate
3250 title: ToscaNodeTemplate
3253 title: HealthCheckReport
3256 title: PolicyFetchMode