User.delete - REST API

Overview

Deletes a user specified by user_id. Input UST must belong to a logged in super-user.

  • HTTP method: DELETE
  • URL path: /zato/sso/user

Request

Name Datatype Optional Notes
ust string Current user’s session token (UST)
current_app string Name of application that the call is attempted from
user_id string ID of the user to delete

Response

Name Datatype Optional Notes
cid string Correlation ID assigned to request
status string Overall status code
sub_status list Yes Returned only if status is not “ok”, a list of error or warning codes

Usage

$ curl -XDELETE localhost:17010/zato/sso/user -d '
  {
   "ust": "gAAAAABaluMOuV63skky-6ZZzlaPs...",
   "current_app": "CRM",
   "user_id": "zusr20ksc6vzb29fvbg8zympcnqdm9"
  }
  '

  {
      "cid": "de00deb0471188dcdd9913a8",
      "status": "ok"
  }