From c0cf49e778069771c1b447ee095dbf0818fd6a4a Mon Sep 17 00:00:00 2001 From: Dean Papastrat Date: Fri, 24 Apr 2020 21:48:00 -0700 Subject: [PATCH] Remove scopes parameter from ObtainTokenRequest --- docs/ObtainTokenRequest.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/ObtainTokenRequest.md b/docs/ObtainTokenRequest.md index 771633d..9c59273 100644 --- a/docs/ObtainTokenRequest.md +++ b/docs/ObtainTokenRequest.md @@ -14,6 +14,4 @@ Name | Type | Description | Notes **grant_type** | **String** | Specifies the method to request an OAuth access token. Valid values are: `authorization_code`, `refresh_token`, and `migration_token` | **refresh_token** | **String** | A valid refresh token for generating a new OAuth access token. A valid refresh token is required if `grant_type` is set to `refresh_token` , to indicate the application wants a replacement for an expired OAuth access token. | [optional] **migration_token** | **String** | Legacy OAuth access token obtained using a Connect API version prior to 2019-03-13. This parameter is required if `grant_type` is set to `migration_token` to indicate that the application wants to get a replacement OAuth access token. The response also returns a refresh token. For more information, see [Migrate to Using Refresh Tokens](https://developer.squareup.com/docs/authz/oauth/migration). | [optional] -**scopes** | **[String]** | __OPTIONAL__ A JSON list of strings that are the permissions the application is requesting. For example: \"`[\"MERCHANT_PROFILE_READ\",\"PAYMENTS_READ\",\"BANK_ACCOUNTS_READ\"]`\" The access token returned in the response will be granted the permissions that comprise the intersection between the given list of permissions, and those that belong to the provided refresh token. | [optional] -