1

I wanted to know if there is any API that allows me to deactivate users in marketing cloud when they have been inactive for 60 days, any information is useful

2 Answers 2

1

Why don't you use the built in security setting for this?

The Login Expires After Inactivity setting prevents a user from logging in to the account after not logging in for several days. For example, if the value is 90 days and a user doesn’t log in for 90 days, you must reset the user login information. This setting helps prevent unauthorized users from exploiting old accounts.

2
  • This would be the same as deactivating users from the admin setup interface ?
    – Jesuchon
    Apr 4, 2022 at 19:15
  • This feature in security settings doesn't appear to change the users Enabled flag to No. It will only prevent the user from logging in, and require them to reset their password to the registered email address on file or contact the Marketing Cloud Administrator. Apr 4, 2022 at 23:06
1

The Security Setting should always be enabled by default, to prevent old logins from being used.

The Login Expires After Inactivity setting prevents a user from logging in to the account after not logging in for several days. For example, if the value is 90 days and a user doesn’t log in for 90 days, you must reset the user login information. This setting helps prevent unauthorized users from exploiting old accounts.

If you are trying to automate this for license purpose, you can use the SOAP Web Service API (As a REST API does not exist for this function) to Retrieve/Update the AccountUser object

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .