Create a Realm, Clients and Users under it via keycloak admin API

I am trying to create a complete Realm with client (public and private) and users. I am able to create realm with the token got from another realm. i.e., I am able to call the API {{base_path}}/admin/realms and create API with another realm client token (with realm creation permission client).

But with the same token that used to create realm i am not able to call client creation API {{base_path}}/admin/realms/{{realm_name}}/clients or user creation API {{base_path}}/admin/realms/{{realm_name}}/users.

Any idea how to achieve this? Or am I missing anything?