Administration
Create Tenant
Create a new tenant.
Note: Requires administrator permissions.
post/_api/tenant
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "demo@macrometa.com",
"displayName": "Test",
"passwd": "XXXX",
"plan": "ENTERPRISE",
"attribution": "Macrometa",
"dcList": "datacenter1, datacenter2",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"contact": {
"firstname": "demo",
"lastname": "marometa",
"email": "demo@macrometa.com",
"phone": "+1 (650) 555-9144",
"line1": "646 Waverley Street",
"line2": "Palo Alto, California 94301",
"city": "Palo Alto",
"state": "California ",
"country": "United States of America",
"zipcode": "94301"
}
}Response
Successfully created tenant.
Example response
{
"code": 200,
"result": {
"displayName": "Test",
"email": "demo@macrometa.com",
"attribution": "Macrometa",
"plan": "ENTERPRISE",
"tenant": "Test",
"metadata": {
"key1": "value1",
"key2": "value2"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.