How To Delete User From Identity On Standalone Using API?

How to delete a user from a Standalone Orchestrator using API?

Issue Description: The delete user API endpoint will only delete the user from the Orchestrator not from identity.

Resolution:

  1. Use platform management API to delete the same user from Identity.
  2. For this, provide the external application from which the access token are generated with Platform management access and respective scopes to delete the user

  1. After getting tokens using the above external application, use the below API endpoint to get info of users available in Identity and delete based on user ID.
  2. List of Users available in Identity along with their id's: GET
    • {orch_url}/identity/api/UserPartition/users/{partition_id}
  3. Get patiotion_id from the identity management portal by using developer tools in a browser like below. Note : Pass the bearer token to the above API obtained from 1st step.

1.png

  1. Post having the user details along with the ID then you can use the below API to delete the same user from the identity.
  2. Note: Pass the token obtained from 1st step for authentication purposes.