diff --git a/docs/apps/checkAccountSubscribesToPlan.md b/docs/apps/checkAccountSubscribesToPlan.md deleted file mode 100644 index 82f973358..000000000 --- a/docs/apps/checkAccountSubscribesToPlan.md +++ /dev/null @@ -1,34 +0,0 @@ -# Get a subscription plan for an account - -**Deprecated:** This method has been renamed to apps.getSubscriptionPlanForAccount - -Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - -GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - -```js -octokit.apps.checkAccountSubscribesToPlan({ - account_id -}); -``` - -## Parameters - - - - - - - - - - - - -
namerequireddescription
account_idyes - -account_id parameter - -
- -See also: [GitHub Developer Guide documentation](endpoint.documentationUrl). diff --git a/docs/apps/checkAccountSubscribesToPlanStubbed.md b/docs/apps/checkAccountSubscribesToPlanStubbed.md deleted file mode 100644 index dc72b7392..000000000 --- a/docs/apps/checkAccountSubscribesToPlanStubbed.md +++ /dev/null @@ -1,34 +0,0 @@ -# Get a subscription plan for an account (stubbed) - -**Deprecated:** This method has been renamed to apps.getSubscriptionPlanForAccountStubbed - -Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. - -GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint. - -```js -octokit.apps.checkAccountSubscribesToPlanStubbed({ - account_id -}); -``` - -## Parameters - - - - - - - - - - - - -
namerequireddescription
account_idyes - -account_id parameter - -
- -See also: [GitHub Developer Guide documentation](endpoint.documentationUrl).