Create tenant
Request to create new tenant:
POST /api/v2/tenants.json
HTTP body should contain JSON formatted profile of tenant to create.
For example:
{
"tenant": {
"name": "MaxiServe",
"timezone": "Europe/London"
}
}
Response contains HTTP status code as shown in the following table.
Response | Description |
---|---|
201 Created | Tenant has been successfully created. HTTP header For example:
|
403 Forbidden | The request cannot be completed because API user has no permission to create tenants |
400 Bad Request | The request cannot be completed because supplied JSON object has invalid data. When response has content type
|