list #
Lists existing soft-tenants of a given tenant.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/multi-tenancy/tenant/:tenantId/soft-tenants
Method: GETOther protocols #
{
"controller": "multi-tenancy/soft-tenant",
"action": "list",
"tenantId": "teacher-liia",
}Arguments #
tenantId: Id of the tenant
Response #
Returns a soft-tenants array.
{
"status": 200,
"error": null,
"action": "list",
"controller": "multi-tenancy/soft-tenant",
"requestId": "<unique request identifier>",
"result": [
{ "name": "college", "id": "college", "metadata": {
"geolocation":{
"lat":43,"lon":7
}
}
},
{ "name": "highschool", "id": "highschool", },
]
}