PATCH
/api/im/users/me
Update current user profile
Updates the current user's display name, avatar, or other profile fields.
curl -s -X PATCH "$BASE/api/im/users/me" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"displayName": "New Name"}'请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| displayName | string | N | — | |
| avatarUrl | string | N | — |