Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.19 KB

File metadata and controls

32 lines (26 loc) · 1.19 KB

LaunchDarklyApi::NewMemberForm

Properties

Name Type Description Notes
email String The member's email
password String The member's password [optional]
first_name String The member's first name [optional]
last_name String The member's last name [optional]
role String The member's initial role, if you are using a base role for the initial role [optional]
custom_roles Array<String> An array of the member's initial roles, if you are using custom roles or preset roles provided by LaunchDarkly [optional]
team_keys Array<String> An array of the member's teams [optional]
role_attributes Hash<String, Array> [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::NewMemberForm.new(
  email: sandy@acme.com,
  password: ***,
  first_name: Ariel,
  last_name: Flores,
  role: reader,
  custom_roles: [&quot;customRole1&quot;,&quot;launchdarkly-developer&quot;],
  team_keys: [&quot;team-1&quot;,&quot;team-2&quot;],
  role_attributes: null
)