curl --request POST \
--url http://localhost:4000/api/user/handle/set \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"handle": "<string>"
}'
{
"success": true,
"data": {}
}
Set or update the user’s username handle
curl --request POST \
--url http://localhost:4000/api/user/handle/set \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"handle": "<string>"
}'
{
"success": true,
"data": {}
}
Dynamic authentication JWT token
Handle set successfully
The response is of type object
.