In some case, create tenant script fails with errors.
'There was an error while creating the tenant. Please check your connection to the servers and/or your json payload.'
We can alternatively create tenant on the API Portal server using Postman application.
Release : 5.x
Copy ../certs/apim.pem file from Portal installation location to the Windows Operating system where you have Postman installed.
From Postman - Settings - Certificates - Add Certificate.
Host: https://portaldomain-ssg.example.com:9443
Add apim.pem for CERT file and KEY file.
--------------------------------------------------
Execute POST Method on URL - https://portaldomain-ssg.example.com:9443/provision/tenants
{
"adminEmail": "[email protected]",
"noReplyEmail": "[email protected]",
"portalName": "created from postman",
"subdomain": "example.com",
"tenantId": "Test-Tenant",
"auditLogLevel": "ERROR",
"multiclusterEnabled": true,
"performanceLogLevel": "ERROR",
"portalLogLevel": "ERROR",
"tenantType": "ON-PREM",
"termOfUse": "EULA"
}
Modify the below parameters according to your requirement.
"adminEmail": "",
"noReplyEmail": "",
"portalName": "",
"subdomain": "",