This API Will delete user from the app, if you want to delete user from an organization, use Link.
Organization Management
Delete a User
Use the below endpoint to delete a user.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authorization header with of type Bearer TOKEN_VALUE where TOKEN_VALUE is the a JWT returned in the response from Machine User Token flowcurl --request DELETE \
--url https://dev-iam.razi.ai/v1/authorization/users/__USERID__ \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'X-App-Name: '
{
"message": "User Deleted"
}