所属を更新

PUT/organization_member/:id

自分の所属を更新します。他人の所属は 403 になります。

認証要ログイン

パスパラメータ

idstring必須

所属 ID。

リクエストボディ

organizationIdstring

組織 ID。null を指定すると組織に紐づかない経歴として登録される。

titlestring

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

startDate / endDatestring

在籍期間。YYYY-MM 形式。startDate は必須、endDate は startDate 以降であること(在籍中は null)

currentboolean

在籍中かどうか。true の場合 endDate は null にする。

リクエスト
curl https://api.4s.link/organization_member/ID \
-X PUT \
-H "Authorization: Bearer 4s_at_..." \
-H "Content-Type: application/json" \
-d '{
"title": "Senior Software Engineer",
"current": true
}'
レスポンス例
{
"id": "om1a2b3c-...",
"title": "Senior Software Engineer",
"current": true
}