Issue (or replace) a tenant invitation (min tenant ADMIN)
Role may only be ADMIN or MEMBER (never OWNER). Email-send failure does NOT roll back the invitation; inviteUrl is always returned as a copy-link fallback.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string format: email
role
string
Responses
Section titled “Responses”Invitation created
Media typeapplication/json
object
ok
boolean
email
string
role
string
inviteUrl
string
emailSent
boolean
Invalid JSON / bad email / bad role / stale tenant
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Not authorized
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Needs tenant ADMIN
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Failed to create invitation
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}