diff options
Diffstat (limited to 'plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml')
-rw-r--r-- | plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml b/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml new file mode 100644 index 00000000..e7791d56 --- /dev/null +++ b/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml @@ -0,0 +1,25 @@ +open_cli_schema_version: 1.0 +name: service-delete +description: Delete a service instance +version: onap-1.1 +service: + name: so + version: v2 + auth: basic + mode: direct + +parameters: + - name: service-instance-id + description: unique id for service instance + type: string + short_option: x + long_option: service-instace-id + is_optional: false + +http: + request: + uri: /ecomp/mso/infra/serviceInstances/v2/${service-instance-id} + method: DELETE + body: '{"requestDetails": {"modelInfo": {"modelType": "service", "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", "modelName": "Test","modelVersion": "1.0"}, "requestInfo":{"source": "VID"}}}' + success_codes: + - 204
\ No newline at end of file |