Fetch All Organisations

Hi Team

I wish to fetch all the organizations for Auth0.It looks like there is a pagination inside your mangement API.

// List available organizations
//
// See: Auth0 Management API v2
func (m *OrganizationManager) List(opts …RequestOption) (o *OrganizationList, err error) {
err = m.Request(“GET”, m.URI(“organizations”), &o, applyListDefaults(opts))
return
}

applyListDefaults(opts) has pagination

How can I fetch all the organisations with Pagination in Picture? Can anybody guide me how the code should look like

Hey there!

Let me research that and get back to you shortly

It seems like there’s nothing mentioned about that in the docs. Maybe someone from community will be able to help. Adding a few tags to your question for better searchability