所属を更新
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}