Register
Create a new user account. Include tenant header.
Example
fetch('https://auth.magicrunez.com/register', {
method: 'POST',
headers: { 'Content-Type': 'application/json',
'X-Tenant-ID': '...value...'
},
body: JSON.stringify({ email: 'user@example.com', password: 's3cret', displayName: 'Alice' })
})
.then(r => r.json())
.then(console.log)
.catch(console.error);