プロフィールを更新

PUT/users/me

認証中ユーザー自身のプロフィールを更新します。送信したフィールドのみが更新されます(部分更新)。null を送るとその値をクリアします。

認証要ログイン

リクエストボディ

firstName / lastNamestring | null

氏名(英語表記)。各 255 文字以内。使用できるのは半角英数字・スペース・ハイフン・アポストロフィ・ピリオドのみ。

nativeNamestring | null

現地語表記の氏名。文字種の制限なし。

titlestring | null

役職・学部など。文字数制限なし。

biostring | null

自己紹介。文字数制限なし。

languagesstring[] | null

使用言語コードの配列。各要素 32 文字以内。

displayLocale\"ja\" | \"en\" | null

表示言語。"ja" または "en" のみ(空文字は null 扱い)

avatarUrl / eventFaceImageUrlstring | null

画像 URL。有効な URL 形式であること。アップロード系エンドポイントが返した URL を指定する。

birthDatestring | null

生年月日。YYYY-MM-DD 形式。

genderstring | null

male / female / other / undisclosed のいずれか。

locationobject | null

所在地。placeId・countryCode・displayText・name・locality・city・state・country のいずれかを 1 つ以上含むオブジェクト。null でクリア。

socialLinksobject | null

SNS リンク。

tags / industryTags / skillTags / hobbyTagsstring[]

タグ名の配列。各要素 100 文字以内(前後の空白は除去される)

オブジェクトの構造

location

Google Places 由来の所在地情報。placeId / countryCode / displayText / name / locality / city / state / country のいずれかを 1 つ以上含む必要があります。null または空文字でクリアできます。

placeIdstring

Google Places の場所 ID。

displayTextstring

表示用のテキスト(例: 東京都渋谷区)

name / shortNamestring

場所名・略称。

countryCode / countrystring

国コード(JP など)と国名。

state / locality / citystring

都道府県・州、地域、市区町村。

zipCode / address / buildingstring

郵便番号・住所・建物名。

geoobject

座標(lat / lng)

googleMapsURIstring

Google マップの URL。

{
  "placeId": "ChIJ...",
  "displayText": "東京都渋谷区",
  "countryCode": "JP",
  "state": "東京都",
  "city": "渋谷区",
  "geo": { "lat": 35.6595, "lng": 139.7005 }
}

socialLinks

各 SNS のユーザー名または URL。指定しなかったキーは変更されません。

x / twitterstring

X(旧 Twitter)

instagram / facebook / youtubestring

Instagram / Facebook / YouTube。

linkedin / githubstring

LinkedIn / GitHub。

whatsappstring

WhatsApp。

websitestring

個人サイトなどの URL。

{
  "twitter": "example",
  "github": "example",
  "website": "https://example.com"
}
リクエスト
curl https://api.4s.link/users/me \
-X PUT \
-H "Authorization: Bearer 4s_at_..." \
-H "Content-Type: application/json" \
-d '{
"title": "Engineer",
"bio": "4S で開発しています",
"languages": ["ja", "en"]
}'
レスポンス例
{
"id": "a1b2c3d4-...",
"slug": "taro",
"firstName": "太郎",
"lastName": "山田",
"email": "taro@example.com",
"title": "Engineer",
"bio": "4S で開発しています",
"languages": ["ja", "en"],
"updatedAt": "2026-08-18T00:00:00.000Z"
}