getUserStrategies #
Gets the available authentication strategies of a user.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/users/<_id>/_strategies
Method: GETOther protocols #
{
"controller": "security",
"action": "getUserStrategies",
"_id": "<kuid>"
}Arguments #
_id: user kuid
Response #
Returns an object with the following properties:
strategies: array containing all the available authentication strategies on the requested user.total: total number of strategies found for that user.
{
"status": 200,
"error": null,
"result": {
"strategies": ["local"],
"total": 1
}
}