Deleting Users
You may want to permanently disconnect a user from Validic, for example, if the person is no longer employed at an organization. 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.
Deleting a user by specifying the user’s Validic ID:
Example
DELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}.json
DELETE https://api.validic.com/v1/organizations/5176906c6deddac02c000001/users/51552cd7fded0807c4000017.json -H 'Content-Type: application/json' { "access_token": "e61467e3845e8a66f7453dc55ea3fc445d1b879a6f96ebe7b243badbeae04f63" } 200 { "code": 200, "message": "Ok" }
In case you do not have the User’s Validic ID, you may also delete a user using the uid
you used to provision the user.
Deleting a user by specifying the uid provided when user was provisioned:
Example
DELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json
DELETE https://api.validic.com/v1/organizations/5176906c6deddac02c000001/users.json -H 'Content-Type: application/json' { "access_token": "e61467e3845e8a66f7453dc55ea3fc445d1b879a6f96ebe7b243badbeae04f63", "uid": "123467890" } 200 { "code": 200, "message": "Ok" }
Alternatively, you may pass the access token as a URL parameter instead.