Authorizations
apiKey MUST be supplied within the request body instead of query
Body
application/json
POST /v1/api/tenant/register-tenant Request body
Upsolve API key, generated in the Deploy tab of the Upsolve Hub.
Minimum length:
1
Examples:
"up_embed_************"
Display name for this user. This will appear in the Upsolve Hub.
Examples:
"Google Inc"
Examples:
{
"company_id": "company-google",
"company_class": "tech"
}
Response
POST /v1/api/tenant/register-tenant Positive response
Allowed value:
"success"
Examples:
{
"message": "Tenant Google Inc registered.",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InBhcmVudE9yZ0lkIjoiYWJkZTZmMjQtYWYwZi00Zjg3LWI4NzEtNzk0NGIyYzhjM2IzIiwiZGlzcGxheU5hbWUiOiJEZW1vIChBZG1pbikiLCJwYXlsb2FkIjp7fX0sImlhdCI6MTcwOTI2NTcyOSwiZXhwIjoxNzA5MjY5MzI5fQ.nfMwGbPe7zwCwlky079PVjA-ox0G2OtTuFo_0MXoLCE"
}