How to get the all compartments in tenancy through API ?
Content
I need the root compartment info as well as all other compartments in tenancy.
Right now, I am using ListCompartments API for fetching all compartments & GetCompartment API for root compartment.
Is there a API that returns all the compartments including root compartment?
Tagged:
3