PATCH /v1/tenants/{tenant_id}/members/{member_id}
TenantService_UpdateMember
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
tenant_idpath · string · requiredmember_idpath · string · required
Request body
expected_versionstringmember_idstringrole_codesarraystatusstringtenant_idstring
cURL
curl --request PATCH 'https://nexus-api.rainlib.com/v1/tenants/{tenant_id}/members/{member_id}' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"expected_version": "<value>",
"role_codes": [
"<value>"
],
"status": "<value>"
}'Response contract
200 · OK
directory_role_codesarraydisplay_namestringemailstringidstringrole_codesarraystatusstringtenant_idstringuser_idstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.