@@ -1662,7 +1662,7 @@ No authorization required
16621662
16631663## RevokeOAuth2Token
16641664
1665- > RevokeOAuth2Token(ctx).Token(token).Execute()
1665+ > RevokeOAuth2Token(ctx).Token(token).ClientId(clientId).ClientSecret(clientSecret). Execute()
16661666
16671667Revoke OAuth 2.0 Access or Refresh Token
16681668
@@ -1682,10 +1682,12 @@ import (
16821682
16831683func main () {
16841684 token := " token_example" // string |
1685+ clientId := " clientId_example" // string | (optional)
1686+ clientSecret := " clientSecret_example" // string | (optional)
16851687
16861688 configuration := openapiclient.NewConfiguration ()
16871689 apiClient := openapiclient.NewAPIClient (configuration)
1688- resp , r , err := apiClient.OAuth2Api .RevokeOAuth2Token (context.Background ()).Token (token).Execute ()
1690+ resp , r , err := apiClient.OAuth2Api .RevokeOAuth2Token (context.Background ()).Token (token).ClientId (clientId). ClientSecret (clientSecret). Execute ()
16891691 if err != nil {
16901692 fmt.Fprintf (os.Stderr , " Error when calling `OAuth2Api.RevokeOAuth2Token``: %v \n " , err)
16911693 fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -1705,6 +1707,8 @@ Other parameters are passed through a pointer to a apiRevokeOAuth2TokenRequest s
17051707Name | Type | Description | Notes
17061708------------- | ------------- | ------------- | -------------
17071709 ** token** | ** string** | |
1710+ ** clientId** | ** string** | |
1711+ ** clientSecret** | ** string** | |
17081712
17091713### Return type
17101714
0 commit comments