Get big segment membership for user

GET
/api/v2/segments/:projectKey/:environmentKey/:segmentKey/users/:userKey

Contexts are now available

After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use Get expiring targets for segment instead of this endpoint. To learn more, read Contexts.

Get the membership status (included/excluded) for a given user in this big segment. This operation does not support standard segments.

Path parameters

projectKeystringRequired

The project key

environmentKeystringRequired

The environment key

segmentKeystringRequired

The segment key

userKeystringRequired

The user key

Response

Segment membership for user response

userKeystring

The target key

includedboolean

Indicates whether the target is included.
Included targets are always segment members, regardless of segment rules.

excludedboolean

Indicates whether the target is excluded.
Segment rules bypass excluded targets, so they will never be included based on rules. Excluded targets may still be included explicitly.

Errors

Built with