Problem with new user privileges

Hello all,
I have some problem during using api.
First, I will describe my requirements.
I want to register a lot of domains by cloudflare api. (for example 40)
For every 10 I need separate subaccount.
I thought about two options:
a) For api cloudflare create member by #account-members-add-member
and add zone for this member by #zone-create-zone.
I am setting roles for this user by getting from “‘accounts/’ . $accountIdentifier . ‘/roles’” -> $roles->result[0]->id
b) For host api add user and also add zone for this user.
1 During this both options I have problem. When New Users (or member) trying to use “create zone”, there is error “Permission denied”.
What should I do to avoid this?

This topic was automatically closed after 31 days. New replies are no longer allowed.