listSoftTenants #
Lists available soft-tenants for a user.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/multi-tenancy/tenant/:tenantId/user/:_id/soft-tenant/_listSoftTenants
Method: GETOther protocols #
{
"controller": "multi-tenancy/user",
"action": "listProfiles",
"_id": "jean"
"tenantId": "<tenant ID>",
}Arguments #
_id: Id of the UsertenantId: Tenant ID
Response #
Returns an array containing the available soft-tenants for this tenant and user.
{
"status": 200,
"error": null,
"action": "add",
"controller": "multi-tenancy/user",
"requestId": "<unique request identifier>",
"result": [
{ "name": "college", "id": "college", "metadata": {
"geolocation":{
"lat":43,"lon":7
}
}
},
{ "name": "highschool", "id": "highschool", },
]
}