Skip to content

Files

Latest commit

f76636a · Nov 17, 2023

History

History
26 lines (20 loc) · 1.24 KB

InstructionUserRequest.md

File metadata and controls

26 lines (20 loc) · 1.24 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 expiring user target to update. Optional and only used if <code>kind</code> is <code>updateExpireUserTargetDate</code>. If included, update will fail if version doesn't match current version of the expiring user target. [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
)