User Creation via API

Hello,

I am a sysadmin at my company where we are moving from self-hosted to gitlab.com. I’m trying to move my users over but am stuck trying to create users via the API. I think the issue is coming down to the fact that our domain is now a “group”

curl --request POST \
  --url https://gitlab.com/api/v4/users \
  --header 'content-type: application/json' \
  --header 'private-token: REDACTED' \
  --data '{
	"email": "user@mycompany.com",
	"name": "First Last",
	"reset_password": "True",
	"username": "user.mycompany"
}'

This returns { "message": "403 Forbidden" }

How do I programmatically invite people [using their work email addresses] to our Gitlab?