Skip to main content
POST
/
api
/
v1
/
set_username
Set or update username
curl --request POST \
  --url https://api.kryptonfund.com/api/v1/set_username \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "123e4567-e89b-12d3-a456-426614174000",
  "username": "alice"
}
'
{}

Body

application/json
user_id
string
required

User's unique ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

username
string
required

Desired username

Example:

"alice"

Response

Success and new username

The response is of type Response Set Username Api V1 Set Username Post · object.