Skip to main content
This flow can be executed using a human or a machine user.For machine users:
  • Send a valid Authorization header with of type Bearer TOKEN_VALUE where TOKEN_VALUE is the a JWT returned in the response from Machine User Token flow
This API Will delete user from the app, if you want to delete user from an organization, use Link.
Use the below endpoint to delete a user.
curl --request DELETE \
  --url https://dev-iam.razi.ai/v1/authorization/users/__USERID__ \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'X-App-Name: '
Upon successful request, you will receive a response similar to the below:
{
    "message": "User Deleted"
}