Reverted the apiEndpoint