I have a requirement of creating google cloud id for some emails programmatically using Java. I can create full google workspace account for users using Directory lib but for some users we dont require workspace account and hence we just want to create google cloud identity for them.
Thanks
According to this Link
Here are the detailed steps for each step:
To create an OU in Google Workspace, sign in to your Google Admin console and go to Menu > Directory > Organizational units. Click Create new organizational unit, enter a name for your new OU, and select Off in the Automatic licensing section. Click Create.
To create a user with only Cloud Identity License in the OU that you created, sign in to your Google Admin console and go to Menu > Users > Create user. Enter the user's name, email address, and password. In the Organizational unit section, select the OU that you created in step 1. In the Licenses section, select Cloud Identity. Click Create.
The user will be created with only Cloud Identity License and will not have access to any other Google Workspace services.
Reference: