summaryrefslogtreecommitdiffstats
path: root/plugins/so/src/main/resources/onap-cli-schema/services/service-delete-schema-1.1.yaml
blob: e7791d56e8ae9eacf364eb0a2457624763b0a4bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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