000ca852a6970cbb2fffe4c2fa21d448ed5b3ad4
[cli.git] /
1 open_cli_schema_version: 1.0
2 name: tenant-delete
3 description: Delete tenant under given cloud region in Onap
4
5 info:
6   product: onap-amsterdam
7   service: aai
8   author: ONAP CLI Team onap-discuss@lists.onap.org
9
10 parameters:
11   - name: cloud
12     description: Onap cloud
13     type: string
14     short_option: x
15     long_option: cloud
16     is_optional: false
17   - name: region
18     description: Onap cloud region
19     type: string
20     short_option: y
21     long_option: region
22     is_optional: false
23   - name: tenant-id
24     description: Onap cloud tenant id
25     type: string
26     short_option: z
27     long_option: tenant-id
28     is_optional: false
29   - name: resource-version
30     description: Onap cloud tenant version
31     type: uuid
32     short_option: r
33     long_option: resource-version
34     is_optional: true
35
36 http:
37   service:
38     auth: basic
39     mode: direct
40   request:
41     uri: /aai/v11/cloud-infrastructure/cloud-regions/cloud-region/${cloud}/${region}/tenants/tenant/${tenant-id}?resource-version=${resource-version}
42     method: DELETE
43   success_codes:
44     - 204
45     - 404