Hi @subbadaju. It depends a little bit on which information you have about the users and which integration capabilities you have.
For the deactivation of inactive users, I would set up some daily/weekly execution:
- Read all users of your brands with the list users API.
- Based on the user IDs you receive from step 1, execute the get user API request for each of them. This provides you a property called lastLoginDate based on which you can identify users that are inactive for at least 1 year. Ignore those whose accountStatus property is not active as they have already been deactivated.
- Use the update user API to update the users identified in step 2. Set the status property to disabled. If you just want to temporarily disable them
If you want to reactive a user, you can use the update user API and set the status property to active. If you do not have the Qualtrics internal user ID at this point, you can start the process again with the list users API and identify the relavant user e.g. based on the email property.
The manage user guide is pretty the same as the single API documentations, but provides some more details such as available status values.
Best
Christian