Sofa
Account

Update display name

Change the current user's display name.

PUT
/account/name
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PUT "http://localhost:3000/api/v1/account/name" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
Empty