Sprutgaming API
  • Welcome
  • Information
    • Authorization
  • Core
    • Media
      • Get Banners By Category
      • Get Gallery By Category
    • Stories
      • Get Story List
    • Site Blocks
      • Get News
        • Get Stock News List
        • Get Bonuses With News
        • Get Slot Templates?
      • Get Sections
      • Get Settings
      • Get Languages List
      • Get FAQ List
      • Get Language by slug
      • Get Site Section List
      • Get Site Section by slug
      • Get SIte Footer
    • Sportbook
      • Open Session
      • Close Session
    • Promocodes
      • Activate Promocode
    • Chat
      • Get Chats List
      • Get Ads
      • Get Rules
      • Get Messages In Chat
      • Send Message
  • Services
    • User Service
      • Authorization
        • Recovery
          • Send Code
          • Verify Code
          • Update
        • Password Reset
          • Send Code
          • Update
        • Confirmation
          • Send Code
          • Verify Code
        • Login
        • Register
        • Refresh Token
        • Me
        • Self Block
        • Update
      • Fingerprint
        • Get Widget
        • Get Balance
        • Get Transactions
      • Ranks
      • Avatars
        • Get Avatars
        • Update User Avatar
        • Remove User Avatar
      • Countries
      • Promocodes
    • Game Service
      • Session
        • 🎮Open Demo Session
        • 🎲Open Real Session
      • Sections
        • 🖇️Get Available Sections
        • 📦Get Games By Section
        • 🎲Get Section By Id
      • Themes
        • 🎨Get Available Themes
        • 📦Get Games By Theme
      • Favourites
        • Get Favourites
        • Add To Favourites
        • Remove From Favourites
      • Casino Games
        • Get last played games
        • Get Casino games List
      • Providers
        • Get Providers List
      • Misc
        • Get Game By UUID
        • Get Last Played Games
      • User Big Wins
    • Wallet Service
      • Exchanger
        • ➡️Get Output Pairs
        • ⬅️Get Input Pairs
      • 👉Prerequisites
      • 🗃️Get Wallets
      • 💲Get Wallet By Currency
      • 🗳️Get Transactions
      • 💱Get Available Currencies
      • True Play
        • Get True Play Balance
        • Get True Play Widget
        • Get True Play Exchange transactions
    • Bonus Service
      • Lucky Spin
        • Get Available Spins
        • Spin
      • Get Available Bonuses
      • Get Active Bonuses
      • Get Bonus History
      • Activate Bonus
      • Cancel Active Bonus
      • Get Bonus Categories
      • Get Bonus By Id
    • Tournament Service
      • Get Tournaments
      • Get Tournament by ID
      • Get Tournament Users
      • Get Tournament Games
      • Get User Tournament History
    • Jackpot Service
      • Get Jackpot Groups
      • Get Jackpot Group
      • Get Jackpot Group Winners History
      • Get Jackpot Group Games
      • Get User Jackpot Win History
    • Achievement Service
      • Get List of Achievement Categories
      • Get List of Achievements
      • Get User Achievement Points
    • Store Service
      • Get Products List
      • Get Product Categories
      • Get User Products
      • Purchase Bonus
    • Loyalty Store Service
    • Notification Service
      • User Notifications
        • Get notifications
        • Read Notifications
        • Read All Notifications
        • Delete Notifications
    • SSO (OAuth2) Service
    • Payment Serive
      • Payment Methods Groups
        • List
        • Get By Id
      • Payment Actions
        • Pay
        • Withdraw
        • Cancel
      • Payment Orders
        • List
      • Aggregate
        • Aggregate by currencies
    • Config Service
      • Settings
        • List Public Settings
Powered by GitBook
On this page
  1. Services
  2. User Service
  3. Authorization

Update

Update user data

PUT /auth-service/v1/user

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

name

string

Name of the user

first_name

string

First name

last_name

string

Last name

birth_date

string

Date of birth (2025-01-01)

gender_type

string

Gender (Male, Female, Other)

country_id

number

Country Id

city

string

City

state

string

State

zip

string

Zip

address

string

Address

Response

{
    "user": {
        "id": "f93ef5c0-0087-48a6-ba8d-a59bf67688e8",
        "country_id": 1,
        "rank_id": 1,
        "partner_id": null,
        "referral_code": null,
        "name": "name",
        "first_name": "first_name",
        "last_name": "last",
        "birth_date": "2025-01-02T00:00:00.000000Z",
        "gender_type": "Male",
        "city": "city",
        "state": "state",
        "zip": "zip",
        "address": "address 1",
        "email": "test@test.com",
        "tg_id": null,
        "phone": null,
        "language": "en",
        "kyc_level_type": "NonVerified",
        "blocked": false,
        "block_reason": "Self Block",
        "loyalty_score": 0,
        "remember_token": "nKgeQsXrSN",
        "password_updated_at": "2025-04-21T19:44:58.000000Z",
        "kyc_verified_at": null,
        "email_verified_at": "2025-04-21T19:15:34.000000Z",
        "phone_verified_at": null,
        "blocked_at": "2025-04-22T08:48:35.000000Z",
        "deposit_sum_month": 0,
        "created_at": "2025-03-25T10:19:35.000000Z",
        "updated_at": "2025-04-23T10:06:34.000000Z",
        "rank": null,
        "avatar": null
    }
}
{
  "error": "Invalid request"
}
PreviousSelf BlockNextFingerprint

Last updated 1 month ago