| Index | Method | Request(s) | Response | Description | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | deleteTenant |
sid tenantId |
deletes an existing tenant | |||||
| 2 | listTenants |
sid |
tenant | gets all existing tenants | ||||
| 3 | storeTenant |
sid tenant |
tenantId | creates/updates a tenant; returns the identifier of the created/updated instance | ||||
| 4 | getTenantById |
sid tenantId |
tenant | gets a specific tenant by it's identifier | ||||
| 5 | getTenant |
sid name |
tenant | gets a specific tenant by it's name |
deletes an existing tenant
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
sid
|
String | Y | ||||||
|
tenantId
|
Long | Y |
gets all existing tenants
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
sid
|
String | Y |
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
tenant
|
WSTenant | Y | Y |
creates/updates a tenant; returns the identifier of the created/updated instance
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
sid
|
String | Y | ||||||
|
tenant
|
WSTenant | Y |
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
tenantId
|
Long | Y |
gets a specific tenant by it's identifier
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
sid
|
String | Y | ||||||
|
tenantId
|
Long | Y |
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
tenant
|
WSTenant | Y |
gets a specific tenant by it's name
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
sid
|
String | Y | ||||||
|
name
|
String | Y |
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
tenant
|
WSTenant | Y |