Creating a user via the API using Ansible, Terraform or Python API?


#1

The API docs provide a user_create feature through the hosting API here, but this only appears to be available to approved web hosting providers.

I have looked into the Terraform Cloudflare provider, the Ansible Cloudflare role, and the Cloudflare API documentation (using the python API), but the only available API feature appears to be adding an existing user to an account.

Is it possible to create a user account if you are not an approved web hosting provider?


#2

Hi, i also would like to create cloudflare users via ansible, manually managing this is a pain. Searching for a already build module did bring me here.

I think you are looking to the wrong API, please check this one:

https://api.cloudflare.com/#account-members-list-members

If there is no ansible cloudflare-user module, i will probably create one