Core
API v2.x
2

getUserStrategies #

Gets the available authentication strategies of a user.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/users/<_id>/_strategies
Method: GET

Other protocols #

{
  "controller": "security",
  "action": "getUserStrategies",
  "_id": "<kuid>"
}

Arguments #


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
  }
}