LinkedAuth.delete - REST API

Overview

Deletes a previously created link between an SSO user and a security definition.

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

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 SSO user to delete the link from
auth_typestring---Type of the definition the link uses, must be 'basic_auth' or 'jwt'
auth_usernamestring---Username from the definition linked to the SSO user

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/linked -d '
  {
    "current_ust": "gAAAAABavk-65BuvKI0JFPeuJ9Tp3pHtNMe...",
    "current_app": "CRM",
    "user_id": "zusr6fh6fdgd4997ksjkpx7qnk659q",
    "auth_type": "basic_auth",
    "auth_username": "my.user"
    "is_active": true
  }
  '

  {
    "status": "ok",
    "cid": "01513a304ef4409ed2a6caf3"
  }