diff options
author | 2018-09-28 10:02:21 +0530 | |
---|---|---|
committer | 2018-09-28 10:02:21 +0530 | |
commit | d7d205a9bd77d39c037b06431baea95d51f23ece (patch) | |
tree | 87b6d2f23361cc0e2ad03304c86f585451b54765 /products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-casablanca.yaml | |
parent | 0d4a732a87a7a03c859c26cbce50ab1b7974181d (diff) |
Casablanca: AAI customer-delete
Issue-ID: CLI-122
Change-Id: I79f0507e21f12f78dc673a56af4f988e7ea519f4
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-casablanca.yaml')
-rw-r--r-- | products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-casablanca.yaml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-casablanca.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-casablanca.yaml new file mode 100644 index 00000000..9ce03918 --- /dev/null +++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-casablanca.yaml @@ -0,0 +1,46 @@ +# Copyright 2018 Huawei Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +open_cli_schema_version: 1.0 +name: customer-delete +description: Delete a customer from Onap + +info: + product: onap-casablanca + service: aai + author: ONAP CLI Team onap-discuss@lists.onap.org + +parameters: + - name: customer-id + description: Onap customer id + type: string + short_option: x + long_option: customer-id + is_optional: false + - name: resource-version + description: Onap customer resource version + type: uuid + short_option: y + long_option: resource-version + is_optional: false +http: + service: + auth: basic + mode: direct + request: + uri: /aai/v13/business/customers/customer/${customer-id}?resource-version=${resource-version} + method: DELETE + success_codes: + - 204 + - 404 |