/api/v1/setup (POST)
POST
/api/v1/setup
const url = 'https://example.com/api/v1/setup';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"profile":"homelab","displayName":"example","email":"example","password":"example","tenantName":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/setup \ --header 'Content-Type: application/json' \ --data '{ "profile": "homelab", "displayName": "example", "email": "example", "password": "example", "tenantName": "example" }'Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Setup-Token
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
profile
required
displayName
required
string
email
required
string
password
required
string
tenantName
required
string
Responses
Section titled “Responses”OK