User Delete API
API:
https://{{sspHost}}/{{apiPathTenant}}/admin/v1/Users/{{userLoginid}}
Method: DELETE
Error message:
{
"errorCode": "0000051",
"errorMessage": "Invalid user id"
}
Any AuthHub release above 2.x release
The change was done by design and classified as needed change in the latest AuthHub releases to ensure that the wrong user is NOT deleted.
User Delete API changed from this --> https://{{sspHost}}/{{apiPathTenant}}/admin/v1/Users/{{userLoginid}}
to This --> https://{{sspHost}}/{{apiPathTenant}}/admin/v1/Users/{{userId}} and no longer Accept userLoginid returned by SCIM service.
Client using SCIM will need to look up the USER ID first and then use it in the DELETE API.