Update organization membership

PUT/organization_member/:id

Update one of your own memberships. Other users' memberships return 403.

AuthLogin required

Path parameters

idstringrequired

Membership ID.

Request body

organizationIdstring

Organization ID; pass null to record the history without linking to an organization.

titlestring

Job title / department; no length limit.

startDate / endDatestring

Membership period in YYYY-MM format. startDate is required; endDate must not be earlier than startDate (null while current).

currentboolean

Whether 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
}