When creating new users through the Automic REST API using the {client}/system/users endpoint, the user objects are created in a Locked state by default, even if they are intended to be active.
REST API version 24.4 and higher
The Automic REST API requires explicit activation flags and authentication details in the initial POST request to override the default locked status. If these attributes are missing from the user_attributes section, the system secures the new object by locking it.
To create a user that is both Active and Unlocked in a single API call, you must include the is_active attribute set to 1 along with a valid authentication method (either a local password or the LDAP flag).
Modify your JSON request payload to include the following in the user_attributes section:
This command will make changes to your system. Review it carefully before running.
This command will make changes to your system. Review it carefully before running.
Review this command before running it.
Note: If the is_active flag is set to 1 but no password or LDAP flag is provided, the user may still be created as locked for security reasons.
POST {ae_url}/ae/api/v1/{client}/system/users