Create a tenant invite
POST
header
X-Session-Token<token>Kratos session JWT token. Alternative to cookie authentication for non-browser clients.
application/json- body
email*stringFormat
emailinvite_url*stringFormat
urirole*stringOK
application/json- response
invite*message*stringcurl -X POST 'https://api.omnibase.tech/api/v1/tenants/invites' \ -H 'Content-Type: application/json' \ -d '{ "email": "test@example.com", "invite_url": "https://app.example.com/accept-invite", "role": "member"}'Example Response
{ "invite": { "created_at": "2019-08-24T14:15:22Z", "email": "string", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "inviter_id": "string", "role": "string", "tenant_id": "string", "token": "string", "used_at": "2019-08-24T14:15:22Z" }, "message": "Invite sent successfully"}