POST /v1/tenants/{tenant_id}/invitations
TenantService_InviteMember
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 · required
Request body
emailstringidempotency_keystringrole_codesarraytenant_idstring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/tenants/{tenant_id}/invitations' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<value>",
"idempotency_key": "<value>",
"role_codes": [
"<value>"
]
}'Response contract
200 · OK
emailstringexpires_atstringidstringrole_codesarraystatusstringtenant_idstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.