Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.18 KB

InstructionUserRequest.md

File metadata and controls

26 lines (20 loc) · 1.18 KB

LaunchDarklyApi::InstructionUserRequest

Properties

Name Type Description Notes
kind String The type of change to make to the removal date for this user from individual targeting for this flag.
flag_key String The flag key
variation_id String ID of a variation on the flag
value Integer The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag. Required if <code>kind</code> is <code>addExpireUserTargetDate</code> or <code>updateExpireUserTargetDate</code>. [optional]
version Integer The version of the flag variation to update. You can retrieve this by making a GET request for the flag. Required if <code>kind</code> is <code>updateExpireUserTargetDate</code>. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::InstructionUserRequest.new(
  kind: addExpireUserTargetDate,
  flag_key: sample-flag-key,
  variation_id: ce12d345-a1b2-4fb5-a123-ab123d4d5f5d,
  value: 1653469200000,
  version: 1
)