Activating a collection can only be done on collection that is already deactivated. Refer to Deactivate Collection to know more on how to deactivate a collection.
Authentication
LeanX uses Auth Token to authenticate in each request's header.
Auth Token can be retrieved in your portal dashboard under API page.