LaunchDarkly

Update expire user target date

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Update the date and time that LaunchDarkly will remove the user from the flag’s individual targeting.

Inputs

Champ

Type

Description

projectKey [required]

string

The project key.

featureFlagKey [required]

string

The feature flag key.

environmentKey [required]

string

The environment key.

variationId [required]

string

ID of a variation on the flag.

userKey [required]

string

The user key for the user to remove from individual targeting.

expiresIn [required]

date-time

The time, in Unix milliseconds, when LaunchDarkly should remove the user from individual targeting for this flag.

version

string

The version of the expiring user target to update. If included, the update will fail if the version doesn't match the current version of the expiring user target.

comment

string

Optional comment describing the change.

Outputs

Expand All

Champ

Type

Description

items [required]

[object]

An array of expiring user targets

_id [required]

string

The ID of this expiring user target

_version [required]

number

The version of this expiring user target

expirationDate [required]

number

userKey [required]

string

A unique key used to represent the user

targetType

string

A segment's target type. Included when expiring user targets are updated on a segment.

variationId

string

A unique key used to represent the flag variation. Included when expiring user targets are updated on a feature flag.

_resourceId [required]

object

kind

string

projectKey

string

environmentKey

string

flagKey

string

key

string

_links

object

The location and content type of related resources

totalInstructions

number

The total count of instructions sent in the PATCH request

successfulInstructions

number

The total count of successful instructions sent in the PATCH request

failedInstructions

number

The total count of the failed instructions sent in the PATCH request

errors

[object]

An array of error messages for the failed instructions

instructionIndex [required]

number

The index of the PATCH instruction where the error occurred

message [required]

string

The error message related to a failed PATCH instruction