Core
API v2.x
2

deleteCredentials #

Deletes user credentials for the specified authentication strategy.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/credentials/<strategy>/<_id>
Method: DELETE

Other protocols #

Copied to clipboard!
{
  "controller": "security",
  "action": "deleteCredentials",
  "strategy": "<strategy>",
  "_id": "<kuid>"
}

Arguments #

  • _id: user kuid
  • strategy: authentication strategy name to remove

Response #

Returns an acknowledgement.

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "action": "deleteCredentials",
  "controller": "security",
  "_id": "<kuid>",
  "result": {
    "acknowledged": true
  }
}