Skip to main content
POST
Invite an existing user to this tenant (by user_id or email)

Authorizations

Authorization
string
header
required

MeshQu API key passed as a bearer token: Authorization: Bearer mqu_…. Mint one in the console (Settings → API keys).

X-MeshQu-Tenant-Id
string
header
required

Tenant UUID for multi-tenant isolation. Required on authenticated routes. A missing or non-UUID value returns 400 MISSING_TENANT_ID or INVALID_TENANT_ID before API-key authentication.

Body

application/json
role
enum<string>
required
Available options:
admin,
operator,
auditor,
viewer
user_id
string<uuid>

Existing user id (mutually exclusive with email)

email
string<email>

Existing user email (mutually exclusive with user_id)

Response

Default Response

user_id
string<uuid>
required
tenant_id
string<uuid>
required
role
enum<string>
required
Available options:
admin,
operator,
auditor,
viewer
created_at
string<date-time>
required
email
string