Save Membership
PUT/user-svc/organization/:organizationId/user/:userId
Creates or updates an organization membership invite.
Memberships automatically include a canonical per-user org role in the form user-svc:org:{organizationId}:{userId}.
Callers may add additional roles under the same organization prefix to model org-local groups or custom permission bundles.
Additional roles are still subject to role ownership validation via OwnsRole.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Membership saved successfully
Invalid JSON
Unauthorized
Forbidden
Organization/User not found
Internal Server Error