Update organization membership
PUT
/organization_member/:idUpdate one of your own memberships. Other users' memberships return 403.
| Auth | Login required |
|---|
Path parameters
idstringrequiredMembership ID.
Request body
organizationIdstringOrganization ID; pass null to record the history without linking to an organization.
titlestringJob title / department; no length limit.
startDate / endDatestringMembership period in YYYY-MM format. startDate is required; endDate must not be earlier than startDate (null while current).
currentbooleanWhether the membership is current; when true, endDate should be null.
Request
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}'
Example response
{"id": "om1a2b3c-...","title": "Senior Software Engineer","current": true}