Update User
PUT/users/:id
Updates an existing user profile
Request
Path Parameters
A User ID
Query Parameters
The user ID of the user making the request
- application/json
Body
required
Array [
- playlist_library_folder
- playlist_library_playlist_identifier
- playlist_library_explore_playlist_identifier
Array [
- playlist_library_playlist_identifier
- playlist_library_explore_playlist_identifier
]
]
User handle. Can only be set if the user does not already have a handle.
Display name
Possible values: <= 256 characters
User bio
User location
Website URL
Donation link
Twitter handle (without @)
Instagram handle (without @)
TikTok handle (without @)
Profile picture CID or URL
Profile picture sizes metadata
Cover photo CID or URL
Cover photo sizes metadata
Possible values: [label]
Type of profile (e.g., 'label' for record labels)
Whether the user is deactivated
Track hash ID to feature as artist pick
Whether to allow AI attribution
Solana USDC payout wallet address
Coin flair mint address
playlist_library
object
User's playlist library with support for folders and playlists
contents
object[]
required
Array of folders and playlist identifiers
oneOf
Unique folder identifier
Possible values: [folder]
Folder name
contents
object[]
required
Nested folders and playlist identifiers
oneOf
Possible values: [playlist]
Playlist ID
Possible values: [explore_playlist]
Explore playlist identifier
Possible values: [playlist]
Playlist ID
Possible values: [explore_playlist]
Explore playlist identifier
events
object
User events for tracking referrals and mobile users
Hash ID of the user who referred this user
Whether the user is on mobile
Responses
- 200
- 400
- 401
- 404
- 500
User updated successfully
- application/json
- Schema
- Example (from schema)
Schema
Whether the operation was successful
The blockchain transaction hash
{
"success": true,
"transaction_hash": "string"
}
Bad request
Unauthorized
User not found
Server error