For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Use contexts instead
After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use Delete context instances instead of this endpoint.
Delete a user by key.
curl --request DELETE \
--url https://app.launchdarkly.com/api/v2/users/{projectKey}/{environmentKey}/{userKey} \
--header 'Authorization: <api-key>'{
"code": "unauthorized",
"message": "Invalid access token"
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
curl --request DELETE \
--url https://app.launchdarkly.com/api/v2/users/{projectKey}/{environmentKey}/{userKey} \
--header 'Authorization: <api-key>'{
"code": "unauthorized",
"message": "Invalid access token"
}