Skip to content

Commit 22ce5c6

Browse files
yingru97mstrisoline
authored andcommitted
Fix response code in spec to correct reflect the approve or reject private endpoint connection API's behavior (Azure#17015)
* added fix * Update ApiManagementApproveOrRejectPrivateEndpointConnection.json Updated Example
1 parent b137bb6 commit 22ce5c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/apimprivatelink.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
}
169169
],
170170
"responses": {
171-
"201": {
171+
"202": {
172172
"description": "Request to approve or reject private endpoint connection. Location header contains the URL where the status of the long running operation can be checked."
173173
},
174174
"200": {

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2021-08-01/examples/ApiManagementApproveOrRejectPrivateEndpointConnection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
},
1818
"responses": {
19-
"201": {
19+
"202": {
2020
"headers": {
2121
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2021-08-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
2222
}

0 commit comments

Comments
 (0)