Suspend
PUT: https://api.validic.com/v1/organizations/{organization_id}/users/:user_id.json
A suspended user will not have access to your Validic Marketplace. Additionally, Validic will discontinue syncing data from their applications. Suspending a user follows REST standards. Note that the access_token field refers to the Organization access token, not the user authentication token, and must be passed for authentication.
Unsuspend
Send a "0" value in the suspend field to unsuspend a user.
Unsuspend
PUT https://api.validic.com/v1/organizations/5176906c6dedSAMPLE000001/users/51552cd7fSAMPLE04000017.json
{
"suspend":"0",
"access_token":"[[app:key]]"
}
Samples
Request
curl --request PUT \
--url https://api.validic.com/v1/organizations/organization_id/users/:user_id.json \
--header 'Validic-Version: 2016-03-01' \
--header 'accept: application/json' \
--header 'content-type: application/json'
Response
{
"code": 200,
"message": "The user has been suspended successfully"
}