From 64a43b51c4a5ed6a0b5baa5e1954b8a27d14dafa Mon Sep 17 00:00:00 2001 From: secelean Date: Tue, 10 May 2022 11:46:25 +0300 Subject: [PATCH] Cloud Manager 2022.5.0 API Docs --- src/data/permissions.json | 8 +++++++- swagger-specs/api.yaml | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/src/data/permissions.json b/src/data/permissions.json index 1573f4ab..f56b7d83 100644 --- a/src/data/permissions.json +++ b/src/data/permissions.json @@ -168,6 +168,12 @@ "method": "PUT", "path": "/api/program/{programId}/networkInfrastructure/{networkInfrastructureId}" }, + { + "operation": "deleteNetworkInfrastructure", + "profiles": "Business Owner", + "method": "DELETE", + "path": "/api/program/{programId}/networkInfrastructure/{networkInfrastructureId}" + }, { "operation": "enableEnvironmentAdvancedNetworkingConfiguration", "profiles": "Deployment Manager, Business Owner", @@ -205,4 +211,4 @@ "path":"/api/program/{programId}/environment/{environmentId}/logs/download" } -] \ No newline at end of file +] diff --git a/swagger-specs/api.yaml b/swagger-specs/api.yaml index a99f5d9d..7a57e4b7 100644 --- a/swagger-specs/api.yaml +++ b/swagger-specs/api.yaml @@ -2827,6 +2827,47 @@ paths: $ref: '#/definitions/NetworkInfrastructure' '404': description: Network Infrastructure not found + delete: + tags: + - Network infrastructure + summary: Delete network infrastructure + description: Deletes an existing network infrastructure + operationId: deleteNetworkInfrastructure + parameters: + - name: programId + in: path + description: Identifier of the program + required: true + type: string + - name: networkInfrastructureId + in: path + description: Identifier of the network infrastructure + required: true + type: string + - name: x-gw-ims-org-id + in: header + description: IMS organization ID that the request is being made under. + required: true + type: string + - name: Authorization + in: header + description: 'Bearer [token] - An access token for the technical account created through integration with Adobe IO' + required: true + type: string + - name: x-api-key + in: header + description: IMS Client ID (API Key) which is subscribed to consume services on console.adobe.io + required: true + type: string + responses: + '204': + description: Network infrastructure deleted + schema: + $ref: '#/definitions/NetworkInfrastructure' + '400': + description: Network Infrastructure cannot be deleted + '404': + description: Network Infrastructure not found '/api/program/{programId}/environment/{environmentId}/advancedNetworking': get: tags: