Update username
Updates the authenticated user's username.
PUT
/api/profile/usernameBody
usernamestringrequiredRequest
curl
curl -X PUT https://platform.trickest.com/api/profile/username \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Updated user with new username
successboolean400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring