Activate the install
POST
/v1/setup/activate
const url = 'http://localhost:8080/v1/setup/activate';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/v1/setup/activateStep 10. Marks setup activated once steps 1–6 are complete and the SMTP and core tests have passed, and returns the status. Administrators only. 422 listing the blockers otherwise.
Responses
Section titled “Responses”OK
Media typeapplication/json
Anonymous-readable status: the SPA uses it to gate every route until activation.
object
state
required
string
adminExists
required
boolean
completedSteps
required
Array<integer | string>
smtpTested
required
boolean
coreTested
required
boolean
dialect
required
string
activationBlockers
required
Array<string>
isActivated
boolean
Examplegenerated
{ "state": "example", "adminExists": true, "completedSteps": [ 1 ], "smtpTested": true, "coreTested": true, "dialect": "example", "activationBlockers": [ "example" ], "isActivated": true}