Appearance
POST
/admin/user/_availabilityRequired scope:
viskan:user:createChecks the availability of an email address in the system.
Request body
JSON
{
"emailAddress": "john.doe@viskan.com"
}
Response
The user already exists. It may still be used to add to the tenant, depending on accessToTenant.
JSON
{
"emailAddress": "john.doe@viskan.com",
"firstName": "John",
"lastName": "Doe",
"accessToTenant": false,
"legacyUser": false
}
The email address is not found and is available to use.
| Error code | Description |
|---|---|
email-address-required | Email address is required. |
invalid-email-address | The email address is not valid. |