Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.23 KB

AccessTokenPost.md

File metadata and controls

30 lines (24 loc) · 1.23 KB

LaunchDarklyApi::AccessTokenPost

Properties

Name Type Description Notes
name String A human-friendly name for the access token [optional]
description String A description for the access token [optional]
role String Built-in role for the token [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<StatementPost> A JSON array of statements represented as JSON objects with three attributes: effect, resources, actions. May be used in place of a built-in or custom role. [optional]
service_token Boolean Whether the token is a service token https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens [optional]
default_api_version Integer The default API version for this token [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::AccessTokenPost.new(
  name: null,
  description: null,
  role: null,
  custom_role_ids: null,
  inline_role: null,
  service_token: null,
  default_api_version: null
)