diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json index ec0427c50bc9..a2df7a1fed31 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json @@ -15,46 +15,6 @@ "application/json" ], "paths": { - "/providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI": { - "post": { - "summary": "Exchange code for GitHub access token for AppService CLI", - "description": "Description for Exchange code for GitHub access token for AppService CLI", - "operationId": "GenerateGithubAccessTokenForAppserviceCLIAsync", - "parameters": [ - { - "name": "request", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AppserviceGithubTokenRequest" - }, - "x-ms-client-flatten": true - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AppserviceGithubToken" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "Generate Github Access Token For AppService CLI": { - "$ref": "./examples/GenerateGithubAccessTokenForAppserviceCLIAsync.json" - } - } - } - }, "/providers/Microsoft.Web/publishingUsers/web": { "get": { "summary": "Gets publishing user", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GenerateGithubAccessTokenForAppserviceCLIAsync.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GenerateGithubAccessTokenForAppserviceCLIAsync.json deleted file mode 100644 index a81949a9b044..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/GenerateGithubAccessTokenForAppserviceCLIAsync.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2021-03-01", - "request": { - "code": "somecode", - "state": "somestate" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "accessToken": "githubaccesstoken", - "scope": "repo", - "tokenType": "bearer", - "gotToken": false, - "errorMessage": "The code passed is incorrect or expired." - } - } - } -}