get #
Gets a tenant's user
See also security:getUser
User can only act on tenant they belongs.
The tenants
array will be filtered accordingly to the requesting user tenant's.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/multi-tenancy/tenant/:tenantId/users/:_id
Method: GET
Other protocols #
{
"controller": "multi-tenancy/user",
"action": "get",
"_id": "<kuid>",
}
Arguments #
tenantId
: Tenant ID_id
: User kuid
Response #
Returns the user.
{
"status": 200,
"error": null,
"action": "get",
"controller": "multi-tenancy/user",
"requestId": "<unique request identifier>",
"result": {
"_id": "<kuid>",
"content": {
"profileIds": ["teacher-liia-moderator"],
"tenants": [
{
"group": "teacher",
"name": "liia",
"index": "tenant-teacher-liia",
"profiles": ["moderator"]
}
]
}
}
}
Edit this page on Github (opens new window)