HTTP Example:POST /rest/tenants
| API Example: ITenantAPI.addTenant({'$entity': }); |
Add a new tenant. - Input:
- CreateTenantRequest - contains options to be used for the creation of the new tenant.
- Output:
- CreateTenantResponse - A response with status
200 OK and a body containing tenant details when adding the tenant succeeds.
If parameter validation fails, it will return a response with status 400 Bad Request and a body containing an ErrorMessage.
If parameter validation succeeds but creation of the tenant fails, the tenant will be left in
a partially created state, and will need to be deleted. - Produces:
- application/xml
- application/json
- Consumes:
- application/xml
- application/json
|