Create a new tenant for the user
Security
bearerToken
- Mock serverhttps://docs.exolink.com/_mock/apis/exolink_api/user/{userId}/tenant
- Exolink Productionhttps://api.exolink.cloud/user/{userId}/tenant
curl -i -X POST \
'https://docs.exolink.com/_mock/apis/exolink_api/user/{userId}/tenant' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"password": "string"
}'Tenant created successfully
Response
{ "id": 1, "name": "My Company", "domainPrefix": "abc123", "stripeCustomerId": "string", "connectUrl": "wss://abc123.broker.exolink.cloud/", "customDomain": "wss://chargers.company.com/", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" }