- Auth
- API Keys
- Collectables
- Heroes and Characters
- Game
- Asset Candidates
- Assets
- Bones
- Players
- Leaderboards
- Files
- Feature Toggles
- Universal Player Auth
- Merging
- Rarities
- Preferences
- Platforms
- Progressions
- User
- Organisation
- Link Types
- Events/Missions
- Maps
- White Label Login
- Rewards
- Moderation Reports
- Catalogs
- Currency
- Balances
- Messages
- DLC
- Player Segments
- Character Classes
- Subscriptions
- Player Operations
- Roles
- Title Config
- Items
- Entitlements
- Feedback
- Hosts
- Metadata
- Triggers
- Data Migration
- Twitch Drops
- Notifications
Update Player Segment
PATCH
https://api.lootlocker.io/admin/v1/game/{game_id}/segments/{playerSegmentID}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH 'https://api.lootlocker.io/admin/v1/game//segments/3' \
--header 'x-auth-token: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Player Segment 1",
"platform_id": null,
"join_date_start": null,
"join_date_end": null,
"last_active_start": null,
"last_active_end": null,
"min_session_count": null,
"max_session_count": null,
"has_hard_purchase": null,
"has_soft_purchase": null,
"has_purchased_asset_type_id": null,
"owns_dlc_id": null
}'
Response Response Example
{}
Request
Path Params
game_id
stringÂ
required
Example:
{{dev_game_id}}
playerSegmentID
stringÂ
required
Example:
3
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
name
stringÂ
required
platform_id
nullÂ
required
join_date_start
nullÂ
required
join_date_end
nullÂ
required
last_active_start
nullÂ
required
last_active_end
nullÂ
required
min_session_count
nullÂ
required
max_session_count
nullÂ
required
has_hard_purchase
nullÂ
required
has_soft_purchase
nullÂ
required
has_purchased_asset_type_id
nullÂ
required
owns_dlc_id
nullÂ
required
Examples
Responses
🟢200Success
application/json
Body
object {0}
Modified at 2024-01-19 12:21:04