- 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 Feature Toggle - Enable UGC
PATCH
https://api.lootlocker.io/admin/v1/game/{game_id}/feature
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.lootlocker.io/admin/v1/game/2/feature' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"feature": "ugc",
"enabled": true,
"settings": {
"moderation_enabled": true
}
}'
Response Response Example
{}
Request
Path Params
game_id
stringÂ
required
Example:
2
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
feature
stringÂ
required
enabled
booleanÂ
required
settings
objectÂ
required
moderation
booleanÂ
required
Examples
Responses
🟢200Success
application/json
Body
object {0}
Modified at 2024-11-13 13:42:13