docs/AccessTokensApi.md in launchdarkly_api-3.5.0 vs docs/AccessTokensApi.md in launchdarkly_api-3.6.0
- old
+ new
@@ -5,11 +5,11 @@
Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_token**](AccessTokensApi.md#delete_token) | **DELETE** /tokens/{tokenId} | Delete an access token by ID.
[**get_token**](AccessTokensApi.md#get_token) | **GET** /tokens/{tokenId} | Get a single access token by ID.
[**get_tokens**](AccessTokensApi.md#get_tokens) | **GET** /tokens | Returns a list of tokens in the account.
-[**patch_token**](AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access tokenby ID.
+[**patch_token**](AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access token by ID.
[**post_token**](AccessTokensApi.md#post_token) | **POST** /tokens | Create a new token.
[**reset_token**](AccessTokensApi.md#reset_token) | **POST** /tokens/{tokenId}/reset | Reset an access token's secret key with an optional expiry time for the old key.
# **delete_token**
@@ -169,11 +169,11 @@
# **patch_token**
> Token patch_token(token_idpatch_delta)
-Modify an access tokenby ID.
+Modify an access token by ID.
### Example
```ruby
# load the gem
require 'launchdarkly_api'
@@ -191,10 +191,10 @@
patch_delta = [LaunchDarklyApi::PatchOperation.new] # Array<PatchOperation> | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/'
begin
- #Modify an access tokenby ID.
+ #Modify an access token by ID.
result = api_instance.patch_token(token_idpatch_delta)
p result
rescue LaunchDarklyApi::ApiError => e
puts "Exception when calling AccessTokensApi->patch_token: #{e}"
end