Delete Users
DELETE: https://api.validic.com/v1/organizations/{organization_id}/users/:user_id.json
You may delete a user by making a delete call to the user’s ID provided during provisioning or the uid you provided during provisioning. Deleting a user follows REST standards. Note that the Organization access token must be passed for authentication.
Hold Notification
When a user is deleted, we place a five minute hold on the UID to prevent duplicate users being created with the same UID. This means that you will not be able to provision a user with the same UID for five minutes. Once five minutes have passed from the deletion time, you will then be able to provision a new user with that same UID. Attempting to use the UID before the hold is released will result in a "409- Duplicate User" error message.
Deleting a user by specifying the user’s Validic ID:
DELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}.json
-H 'Content-Type: application/json'
{
"access_token":"e61467e3845e8a66f7453dc5SAMPLEd1b879a6f96ebe7b243bad beae04f63"
}
Optional Method
In case you do not have the User’s Validic ID, you may also delete a user by providing the uid used to provision the user. The following example shows how:
DELETE https://api.validic.com/v1/organizations/5176906c6dSAMPLEc000001/users.json
-H 'Content-Type: application/json'
{
"access_token":"e61467e3845e8a66f7453dc5SAMPLEd1b879a6f96ebe7b243bad beae04f63",
"uid":"123467890"
}
Samples
Request
{
"access_token":":access_token"
}
Response