docs/Token.md in launchdarkly_api-10.0.0 vs docs/Token.md in launchdarkly_api-11.0.0
- old
+ new
@@ -6,21 +6,21 @@
| ---- | ---- | ----------- | ----- |
| **_id** | **String** | | |
| **owner_id** | **String** | | |
| **member_id** | **String** | | |
| **_member** | [**MemberSummary**](MemberSummary.md) | | [optional] |
-| **name** | **String** | | [optional] |
-| **description** | **String** | | [optional] |
+| **name** | **String** | A human-friendly name for the access token | [optional] |
+| **description** | **String** | A description for the access token | [optional] |
| **creation_date** | **Integer** | | |
| **last_modified** | **Integer** | | |
-| **custom_role_ids** | **Array<String>** | | [optional] |
-| **inline_role** | [**Array<Statement>**](Statement.md) | | [optional] |
-| **role** | **String** | | [optional] |
-| **token** | **String** | | [optional] |
-| **service_token** | **Boolean** | | [optional] |
-| **_links** | [**Hash<String, Link>**](Link.md) | | |
-| **default_api_version** | **Integer** | | [optional] |
+| **custom_role_ids** | **Array<String>** | A list of custom role IDs to use as access limits for the access token | [optional] |
+| **inline_role** | [**Array<Statement>**](Statement.md) | An array of policy statements, with three attributes: effect, resources, actions. May be used in place of a built-in or custom role. | [optional] |
+| **role** | **String** | Built-in role for the token | [optional] |
+| **token** | **String** | Last four characters of the token value | [optional] |
+| **service_token** | **Boolean** | Whether this is a service token or a personal token | [optional] |
+| **_links** | [**Hash<String, Link>**](Link.md) | The location and content type of related resources | |
+| **default_api_version** | **Integer** | The default API version for this token | [optional] |
| **last_used** | **Integer** | | [optional] |
## Example
```ruby
@@ -29,20 +29,20 @@
instance = LaunchDarklyApi::Token.new(
_id: null,
owner_id: null,
member_id: null,
_member: null,
- name: null,
- description: null,
+ name: Example reader token,
+ description: A reader token used in testing and examples,
creation_date: null,
last_modified: null,
- custom_role_ids: null,
- inline_role: null,
+ custom_role_ids: [],
+ inline_role: [],
role: reader,
- token: api-deadbeef-dead-beef-dead-beefdeadbeef,
- service_token: null,
+ token: 1234,
+ service_token: false,
_links: {"parent":{"href":"/api/v2/tokens","type":"application/json"},"self":{"href":"/api/v2/tokens/61095542756dba551110ae21","type":"application/json"}},
- default_api_version: null,
+ default_api_version: 20220603,
last_used: null
)
```