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

NameDatatypeOptionalNotes
uststring---Current user's session token (UST)
current_appstring---Name of application that the call is attempted from
user_idstring---ID of the user to delete

Response

NameDatatypeOptionalNotes
cidstring---Correlation ID assigned to request
statusstring---Overall status code
sub_statuslistYesReturned 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"
  }