Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
| ... | ... |
@@ -2797,8 +2797,9 @@ Content-Type: application/json |
| 2797 | 2797 |
|
| 2798 | 2798 |
Status Codes: |
| 2799 | 2799 |
|
| 2800 |
-- **201** - no error |
|
| 2800 |
+- **200** - no error |
|
| 2801 | 2801 |
- **404** - network or container is not found |
| 2802 |
+- **500** - Internal Server Error |
|
| 2802 | 2803 |
|
| 2803 | 2804 |
JSON Parameters: |
| 2804 | 2805 |
|
| ... | ... |
@@ -2827,8 +2828,9 @@ Content-Type: application/json |
| 2827 | 2827 |
|
| 2828 | 2828 |
Status Codes: |
| 2829 | 2829 |
|
| 2830 |
-- **201** - no error |
|
| 2830 |
+- **200** - no error |
|
| 2831 | 2831 |
- **404** - network or container not found |
| 2832 |
+- **500** - Internal Server Error |
|
| 2832 | 2833 |
|
| 2833 | 2834 |
JSON Parameters: |
| 2834 | 2835 |
|
| ... | ... |
@@ -2846,11 +2848,11 @@ Instruct the driver to remove the network (`id`). |
| 2846 | 2846 |
|
| 2847 | 2847 |
**Example response**: |
| 2848 | 2848 |
|
| 2849 |
- HTTP/1.1 204 No Content |
|
| 2849 |
+ HTTP/1.1 200 OK |
|
| 2850 | 2850 |
|
| 2851 | 2851 |
Status Codes |
| 2852 | 2852 |
|
| 2853 |
-- **204** - no error |
|
| 2853 |
+- **200** - no error |
|
| 2854 | 2854 |
- **404** - no such network |
| 2855 | 2855 |
- **500** - server error |
| 2856 | 2856 |
|
| ... | ... |
@@ -2995,8 +2995,9 @@ Content-Type: application/json |
| 2995 | 2995 |
|
| 2996 | 2996 |
Status Codes: |
| 2997 | 2997 |
|
| 2998 |
-- **201** - no error |
|
| 2998 |
+- **200** - no error |
|
| 2999 | 2999 |
- **404** - network or container is not found |
| 3000 |
+- **500** - Internal Server Error |
|
| 3000 | 3001 |
|
| 3001 | 3002 |
JSON Parameters: |
| 3002 | 3003 |
|
| ... | ... |
@@ -3025,8 +3026,9 @@ Content-Type: application/json |
| 3025 | 3025 |
|
| 3026 | 3026 |
Status Codes: |
| 3027 | 3027 |
|
| 3028 |
-- **201** - no error |
|
| 3028 |
+- **200** - no error |
|
| 3029 | 3029 |
- **404** - network or container not found |
| 3030 |
+- **500** - Internal Server Error |
|
| 3030 | 3031 |
|
| 3031 | 3032 |
JSON Parameters: |
| 3032 | 3033 |
|
| ... | ... |
@@ -3044,11 +3046,11 @@ Instruct the driver to remove the network (`id`). |
| 3044 | 3044 |
|
| 3045 | 3045 |
**Example response**: |
| 3046 | 3046 |
|
| 3047 |
- HTTP/1.1 204 No Content |
|
| 3047 |
+ HTTP/1.1 200 OK |
|
| 3048 | 3048 |
|
| 3049 | 3049 |
Status Codes |
| 3050 | 3050 |
|
| 3051 |
-- **204** - no error |
|
| 3051 |
+- **200** - no error |
|
| 3052 | 3052 |
- **404** - no such network |
| 3053 | 3053 |
- **500** - server error |
| 3054 | 3054 |
|